pythonPackages.hvac: move expression
This commit is contained in:
parent
5ec4b9d819
commit
3394feaeef
19
pkgs/development/python-modules/hvac/default.nix
Normal file
19
pkgs/development/python-modules/hvac/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hvac";
|
||||
version = "0.2.15";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qxa4g1ij1bj27mbp8l54lcr7d5krkb2rayisc6shkpf2b51ip4c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "HashiCorp Vault API client";
|
||||
homepage = https://github.com/ianunruh/hvac;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
@ -8389,17 +8389,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
hvac = buildPythonPackage rec {
|
||||
name = "hvac-${version}";
|
||||
version = "0.2.15";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/11/ba/6101780891b9d55f6174fa78b47d462c8c1f0cde34072b45fc39f7f8a77c/hvac-0.2.15.tar.gz";
|
||||
sha256 = "0qxa4g1ij1bj27mbp8l54lcr7d5krkb2rayisc6shkpf2b51ip4c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ requests ];
|
||||
};
|
||||
hvac = callPackage ../development/python-modules/hvac { };
|
||||
|
||||
hypothesis = callPackage ../development/python-modules/hypothesis { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user