5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
35 lines
648 B
Nix
35 lines
648 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# dependencies
|
|
pytz,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyrfc3339";
|
|
version = "1.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "pyRFC3339";
|
|
inherit version;
|
|
sha256 = "06jv7ar7lpvvk0dixzwdr3wgm0g1lipxs429s2z7knwwa7hwpf41";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [ pytz ];
|
|
|
|
doCheck = false; # tests are not including in PyPI tarball
|
|
|
|
meta = with lib; {
|
|
description = "Generate and parse RFC 3339 timestamps";
|
|
homepage = "https://github.com/kurtraschke/pyRFC3339";
|
|
license = licenses.mit;
|
|
};
|
|
}
|