blob: e9d482e42ac8d2741ebbd966c33a62b2e6c964a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder
, dateutil, pytzdata, typing }:
buildPythonPackage rec {
pname = "pendulum";
version = "2.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "d07962450e808556b3e6209a5830e2bbf8c7747129580c3b5b09e641f72617ab";
};
propagatedBuildInputs = [ dateutil pytzdata ] ++ lib.optional (pythonOlder "3.5") typing;
# No tests
doCheck = false;
meta = with lib; {
description = "Python datetimes made easy";
homepage = https://github.com/sdispater/pendulum;
license = licenses.mit;
};
}
|