pythonPackages.hvac: move expression

This commit is contained in:
Robert Schütz 2018-03-17 18:49:06 +01:00
parent 5ec4b9d819
commit 3394feaeef
2 changed files with 20 additions and 11 deletions

View 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;
};
}

View File

@ -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 { };