2018-01-20 10:50:45 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, dateutil, pytzdata, tzlocal }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pendulum";
|
2018-06-12 16:47:04 +00:00
|
|
|
version = "2.0.2";
|
2018-01-20 10:50:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 16:47:04 +00:00
|
|
|
sha256 = "544e44d8a92954e5ef4db4fa8b662d3282f2ac7b7c2cbf4227dc193ba78b9e1e";
|
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;
|
|
|
|
};
|
|
|
|
}
|