mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
23 lines
532 B
Nix
23 lines
532 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, dateutil, pytzdata, tzlocal }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pendulum";
|
|
version = "1.4.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "601e52cb0425e94b1784b6613a9085e0066ae1fa1915d18771884b67e93cac5c";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|