mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
Merge pull request #23436 from lsix/update_dateutil
pythonPackages.dateutil: 2.5.3 -> 2.6.0
This commit is contained in:
commit
b9683c2155
18
pkgs/development/python-modules/dateutil/default.nix
Normal file
18
pkgs/development/python-modules/dateutil/default.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchurl, six }:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "dateutil-${version}";
|
||||||
|
version = "2.6.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://pypi/p/python-dateutil/python-${name}.tar.gz";
|
||||||
|
sha256 = "1lhq0hxjc3cfha101q02ld5ijlpfyjn2w1yh7wvpiy367pgzi8k2";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Powerful extensions to the standard datetime module";
|
||||||
|
homepage = http://pypi.python.org/pypi/python-dateutil;
|
||||||
|
license = "BSD-style";
|
||||||
|
};
|
||||||
|
}
|
@ -6013,23 +6013,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
dateutil = buildPythonPackage (rec {
|
dateutil = callPackage ../development/python-modules/dateutil { };
|
||||||
name = "dateutil-${version}";
|
|
||||||
version = "2.5.3";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/python-dateutil/python-${name}.tar.gz";
|
|
||||||
sha256 = "1v9j9fmf8g911yg6k01xa2db6dx3wv73zkk7fncsj7vagjqgs20l";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ self.six ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Powerful extensions to the standard datetime module";
|
|
||||||
homepage = http://pypi.python.org/pypi/python-dateutil;
|
|
||||||
license = "BSD-style";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
# csvkit 0.9.1 needs dateutil==2.2
|
# csvkit 0.9.1 needs dateutil==2.2
|
||||||
dateutil_2_2 = buildPythonPackage (rec {
|
dateutil_2_2 = buildPythonPackage (rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user