pythonPackages.schedule: refactor move to python-modules
This commit is contained in:
parent
c38f4d6407
commit
e49ffc0434
24
pkgs/development/python-modules/schedule/default.nix
Normal file
24
pkgs/development/python-modules/schedule/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "schedule";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1h0waw4jd5ql68y5kxb9irwapkbkwfs1w0asvbl24fq5f8czdijm";
|
||||
};
|
||||
|
||||
buildInputs = [ mock ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python job scheduling for humans";
|
||||
homepage = https://github.com/dbader/schedule;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -2173,22 +2173,7 @@ in {
|
||||
|
||||
scandir = callPackage ../development/python-modules/scandir { };
|
||||
|
||||
schedule = buildPythonPackage rec {
|
||||
name = "schedule-0.3.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/10/96/d101fab391753ebc81fa3bb0e744df1ddcfb032c31b036d38083f8994db1/schedule-0.3.2.tar.gz";
|
||||
sha256 = "1h0waw4jd5ql68y5kxb9irwapkbkwfs1w0asvbl24fq5f8czdijm";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ mock ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python job scheduling for humans";
|
||||
homepage = https://github.com/dbader/schedule;
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
schedule = callPackage ../development/python-modules/schedule { };
|
||||
|
||||
schema = callPackage ../development/python-modules/schema {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user