python.pkgs.funcsigs: move to separate expression
This commit is contained in:
parent
f970ee8e7e
commit
e77f62df0f
22
pkgs/development/python-modules/funcsigs/default.nix
Normal file
22
pkgs/development/python-modules/funcsigs/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, unittest2 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "funcsigs";
|
||||||
|
version = "1.0.2";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ unittest2 ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+";
|
||||||
|
homepage = "https://github.com/aliles/funcsigs";
|
||||||
|
maintainers = with maintainers; [ garbas ];
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
@ -609,25 +609,7 @@ in {
|
|||||||
};
|
};
|
||||||
} else null;
|
} else null;
|
||||||
|
|
||||||
funcsigs = buildPythonPackage rec {
|
funcsigs = callPackage ../development/python-modules/funcsigs { };
|
||||||
name = "funcsigs-1.0.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/f/funcsigs/${name}.tar.gz";
|
|
||||||
sha256 = "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [
|
|
||||||
unittest2
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with pkgs.stdenv.lib; {
|
|
||||||
description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+";
|
|
||||||
homepage = "https://github.com/aliles/funcsigs";
|
|
||||||
maintainers = with maintainers; [ garbas ];
|
|
||||||
license = licenses.asl20;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
APScheduler = callPackage ../development/python-modules/APScheduler { };
|
APScheduler = callPackage ../development/python-modules/APScheduler { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user