python.pkgs.funcsigs: move to separate expression

This commit is contained in:
wisut hantanong 2017-07-28 14:32:38 +07:00
parent f970ee8e7e
commit e77f62df0f
2 changed files with 23 additions and 19 deletions

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

View file

@ -609,25 +609,7 @@ in {
};
} else null;
funcsigs = buildPythonPackage rec {
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;
};
};
funcsigs = callPackage ../development/python-modules/funcsigs { };
APScheduler = callPackage ../development/python-modules/APScheduler { };