2018-01-20 11:50:45 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, dateutil, pytzdata, tzlocal }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pendulum";
|
2018-02-26 10:55:13 +01:00
|
|
|
version = "1.4.2";
|
2018-01-20 11:50:45 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-26 10:55:13 +01:00
|
|
|
sha256 = "39a255776528afe11ea0d57814f9bf3729c1e0b99063af2e5c6cfd750c3e1f7f";
|
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;
|
|
|
|
};
|
|
|
|
}
|