Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 35 lines 648 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 setuptools, 8 9 # dependencies 10 pytz, 11}: 12 13buildPythonPackage rec { 14 pname = "pyrfc3339"; 15 version = "1.1"; 16 pyproject = true; 17 18 src = fetchPypi { 19 pname = "pyRFC3339"; 20 inherit version; 21 sha256 = "06jv7ar7lpvvk0dixzwdr3wgm0g1lipxs429s2z7knwwa7hwpf41"; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ pytz ]; 27 28 doCheck = false; # tests are not including in PyPI tarball 29 30 meta = with lib; { 31 description = "Generate and parse RFC 3339 timestamps"; 32 homepage = "https://github.com/kurtraschke/pyRFC3339"; 33 license = licenses.mit; 34 }; 35}