2017-12-31 10:48:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "iso8601";
|
2021-02-20 09:09:10 +00:00
|
|
|
version = "0.1.14";
|
2017-12-31 10:48:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:10 +00:00
|
|
|
sha256 = "8aafd56fa0290496c5edbb13c311f78fa3a241f0853540da09d9363eae3ebd79";
|
2017-12-31 10:48:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test iso8601
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/micktwomey/pyiso8601/";
|
2017-12-31 10:48:00 +00:00
|
|
|
description = "Simple module to parse ISO 8601 dates";
|
|
|
|
maintainers = with lib.maintainers; [ phreedom ];
|
|
|
|
};
|
2020-04-01 02:11:51 +01:00
|
|
|
}
|