pythonPackages.consul: Move to own file
This commit is contained in:
parent
bf363467f0
commit
ab557fcd67
24
pkgs/development/python-modules/consul/default.nix
Normal file
24
pkgs/development/python-modules/consul/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, requests, six, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-consul";
|
||||||
|
version = "0.7.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "18gs5myk9wkkq5zvj0n0s68ngj3mrbdcifshxfj1j0bgb1km0wpm";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ requests six pytest ];
|
||||||
|
|
||||||
|
# No tests distributed. https://github.com/cablehead/python-consul/issues/133
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Python client for Consul (https://www.consul.io/)";
|
||||||
|
homepage = https://github.com/cablehead/python-consul;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ desiderius ];
|
||||||
|
};
|
||||||
|
}
|
@ -1639,26 +1639,7 @@ in {
|
|||||||
|
|
||||||
construct = callPackage ../development/python-modules/construct {};
|
construct = callPackage ../development/python-modules/construct {};
|
||||||
|
|
||||||
consul = buildPythonPackage (rec {
|
consul = callPackage ../development/python-modules/consul { };
|
||||||
name = "python-consul-0.7.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/python-consul/${name}.tar.gz";
|
|
||||||
sha256 = "18gs5myk9wkkq5zvj0n0s68ngj3mrbdcifshxfj1j0bgb1km0wpm";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ requests six pytest ];
|
|
||||||
|
|
||||||
# No tests distributed. https://github.com/cablehead/python-consul/issues/133
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Python client for Consul (https://www.consul.io/)";
|
|
||||||
homepage = https://github.com/cablehead/python-consul;
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ desiderius ];
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
contexter = buildPythonPackage rec {
|
contexter = buildPythonPackage rec {
|
||||||
name = "contexter-${version}";
|
name = "contexter-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user