2017-12-31 02:48:00 -08:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-04-26 00:49:51 -07:00
|
|
|
, pytestCheckHook
|
2017-12-31 02:48:00 -08:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "iso8601";
|
2021-02-20 01:09:10 -08:00
|
|
|
version = "0.1.14";
|
2017-12-31 02:48:00 -08:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 01:09:10 -08:00
|
|
|
sha256 = "8aafd56fa0290496c5edbb13c311f78fa3a241f0853540da09d9363eae3ebd79";
|
2017-12-31 02:48:00 -08:00
|
|
|
};
|
|
|
|
|
2021-04-26 00:49:51 -07:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2017-12-31 02:48:00 -08:00
|
|
|
|
2021-04-26 00:49:51 -07:00
|
|
|
pytestFlagsArray = [ "iso8601" ];
|
2017-12-31 02:48:00 -08:00
|
|
|
|
2021-04-26 00:49:51 -07:00
|
|
|
pythonImportsCheck = [ "iso8601" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2017-12-31 02:48:00 -08:00
|
|
|
description = "Simple module to parse ISO 8601 dates";
|
2021-04-26 00:49:51 -07:00
|
|
|
homepage = "https://pyiso8601.readthedocs.io/";
|
|
|
|
license = with licenses; [ mit ];
|
2021-04-26 11:12:11 -07:00
|
|
|
maintainers = with maintainers; [ fab ];
|
2017-12-31 02:48:00 -08:00
|
|
|
};
|
2020-03-31 18:11:51 -07:00
|
|
|
}
|