nixpkgs/pkgs/development/python-modules/pendulum/default.nix

23 lines
532 B
Nix
Raw Normal View History

2018-01-20 10:50:45 +00:00
{ stdenv, fetchPypi, buildPythonPackage, dateutil, pytzdata, tzlocal }:
buildPythonPackage rec {
pname = "pendulum";
2018-02-03 09:53:41 +00:00
version = "1.4.0";
2018-01-20 10:50:45 +00:00
src = fetchPypi {
inherit pname version;
2018-02-03 09:53:41 +00:00
sha256 = "e996c34fb101c9c6d88a839c19af74d7c067b92ed3371274efcf4d4b6dc160a6";
2018-01-20 10:50:45 +00:00
};
propagatedBuildInputs = [ dateutil pytzdata tzlocal ];
# No tests
doCheck = false;
meta = with stdenv.lib; {
description = "Python datetimes made easy";
homepage = https://github.com/sdispater/pendulum;
license = licenses.mit;
};
}