pythonPackages.pid: refactor move to python-modules
This commit is contained in:
parent
50ec0b1724
commit
8a27bc48b2
27
pkgs/development/python-modules/pid/default.nix
Normal file
27
pkgs/development/python-modules/pid/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pid";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0cylj8p25nwkdfgy4pzai21wyzmrxdqlwwbzqag9gb5qcjfdwk05";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pidfile featuring stale detection and file-locking";
|
||||
homepage = https://github.com/trbs/pid/;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
@ -3790,26 +3790,7 @@ in {
|
||||
|
||||
timeout-decorator = callPackage ../development/python-modules/timeout-decorator { };
|
||||
|
||||
pid = buildPythonPackage rec {
|
||||
name = "pid-${version}";
|
||||
version = "2.0.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pid/${name}.tar.gz";
|
||||
sha256 = "0cylj8p25nwkdfgy4pzai21wyzmrxdqlwwbzqag9gb5qcjfdwk05";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose ];
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Pidfile featuring stale detection and file-locking";
|
||||
homepage = https://github.com/trbs/pid/;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
};
|
||||
pid = callPackage ../development/python-modules/pid { };
|
||||
|
||||
pip2nix = buildPythonPackage rec {
|
||||
name = "pip2nix-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user