3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.pendulum: init at 1.3.2

This commit is contained in:
Frederik Rietdijk 2018-01-20 11:50:45 +01:00
parent 04fe5bc440
commit 18e10a1e52
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, fetchPypi, buildPythonPackage, dateutil, pytzdata, tzlocal }:
buildPythonPackage rec {
pname = "pendulum";
version = "1.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "1j6hdsdhhw4d6fy9byr0vyxqnb53ap8bh2a0cibl7p0ks0zvb14j";
};
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;
};
}

View file

@ -10442,6 +10442,8 @@ in {
};
};
pendulum = callPackage ../development/python-modules/pendulum { };
pocket = buildPythonPackage rec {
name = "pocket-${version}";
version = "0.3.6";