a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
29 lines
552 B
Nix
29 lines
552 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, unittestCheckHook
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "isodate";
|
|
version = "0.6.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "SMWIHefosKDWSMsCTIBi3ITnuEDtgehkx2FP08Envek=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
|
|
unittestFlagsArray = [ "-s" "src/isodate/tests" ];
|
|
|
|
meta = with lib; {
|
|
description = "ISO 8601 date/time parser";
|
|
homepage = "http://cheeseshop.python.org/pypi/isodate";
|
|
license = licenses.bsd0;
|
|
};
|
|
|
|
}
|