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

23 lines
532 B
Nix
Raw Normal View History

2018-01-20 11:50:45 +01:00
{ stdenv, fetchPypi, buildPythonPackage, dateutil, pytzdata, tzlocal }:
buildPythonPackage rec {
pname = "pendulum";
2018-04-04 20:12:44 +02:00
version = "1.4.4";
2018-01-20 11:50:45 +01:00
src = fetchPypi {
inherit pname version;
2018-04-04 20:12:44 +02:00
sha256 = "601e52cb0425e94b1784b6613a9085e0066ae1fa1915d18771884b67e93cac5c";
2018-01-20 11:50:45 +01: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;
};
}