2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 20:47:52 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytz
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyRFC3339";
|
2018-10-24 07:44:04 +01:00
|
|
|
version = "1.1";
|
2018-10-16 20:47:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 07:44:04 +01:00
|
|
|
sha256 = "06jv7ar7lpvvk0dixzwdr3wgm0g1lipxs429s2z7knwwa7hwpf41";
|
2018-10-16 20:47:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytz ];
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 20:47:52 +01:00
|
|
|
description = "Generate and parse RFC 3339 timestamps";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/kurtraschke/pyRFC3339";
|
2018-10-16 20:47:52 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|