2021-05-28 09:39:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "udatetime";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "0.0.17";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-sQvFVwaZpDinLitaZOdr2MKO4779FvIJOHpVB/oLgwE=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# tests not included on pypi
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "udatetime" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Fast RFC3339 compliant Python date-time library";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "bench_udatetime.py";
|
2021-05-28 09:39:13 +00:00
|
|
|
homepage = "https://github.com/freach/udatetime";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ globin ];
|
|
|
|
};
|
|
|
|
}
|