pythonPackages.jdatetime: Move to own file
This commit is contained in:
parent
0fe45ad2c3
commit
b3d8cb9051
19
pkgs/development/python-modules/jdatetime/default.nix
Normal file
19
pkgs/development/python-modules/jdatetime/default.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "jdatetime";
|
||||||
|
version = "1.7.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1b1ksspm86r272ar8v0v4ip1821i4azpix6xhxpb4l133iwsb2y0";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Jalali datetime binding for python";
|
||||||
|
homepage = https://pypi.python.org/pypi/jdatetime;
|
||||||
|
license = licenses.psfl;
|
||||||
|
};
|
||||||
|
}
|
@ -2065,23 +2065,7 @@ in {
|
|||||||
|
|
||||||
neurotools = callPackage ../development/python-modules/neurotools {};
|
neurotools = callPackage ../development/python-modules/neurotools {};
|
||||||
|
|
||||||
jdatetime = buildPythonPackage (rec {
|
jdatetime = callPackage ../development/python-modules/jdatetime {};
|
||||||
name = "jdatetime-${version}";
|
|
||||||
version = "1.7.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/j/jdatetime/${name}.tar.gz";
|
|
||||||
sha256 = "c08ba5791c2350b26e87ddf478bf223108146e241b6c949538221b54afd633ac";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ self.six ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Jalali datetime binding for python";
|
|
||||||
homepage = https://pypi.python.org/pypi/jdatetime;
|
|
||||||
license = licenses.psfl;
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
daphne = callPackage ../development/python-modules/daphne { };
|
daphne = callPackage ../development/python-modules/daphne { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user