depot/third_party/nixpkgs/pkgs/development/python-modules/isodate/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

29 lines
546 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, unittestCheckHook
, six
}:
buildPythonPackage rec {
pname = "isodate";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "SMWIHefosKDWSMsCTIBi3ITnuEDtgehkx2FP08Envek=";
};
propagatedBuildInputs = [ six ];
checkInputs = [ 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;
};
}