1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "udatetime";
9 version = "0.0.17";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-sQvFVwaZpDinLitaZOdr2MKO4779FvIJOHpVB/oLgwE=";
15 };
16
17 # tests not included on pypi
18 doCheck = false;
19
20 pythonImportsCheck = [ "udatetime" ];
21
22 meta = with lib; {
23 description = "Fast RFC3339 compliant Python date-time library";
24 mainProgram = "bench_udatetime.py";
25 homepage = "https://github.com/freach/udatetime";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ globin ];
28 };
29}