2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2019-01-17 09:44:56 +00:00
|
|
|
, dateutil, mock, isPy3k }:
|
2017-07-19 11:29:13 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aniso8601";
|
2020-12-06 22:38:26 +00:00
|
|
|
version = "8.1.0";
|
2017-07-19 11:29:13 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-07-19 11:29:13 +01:00
|
|
|
description = "Parses ISO 8601 strings.";
|
|
|
|
homepage = "https://bitbucket.org/nielsenb/aniso8601";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ dateutil ];
|
|
|
|
|
2021-01-24 00:29:22 +00:00
|
|
|
checkInputs = lib.optional (!isPy3k) mock;
|
2019-01-17 09:44:56 +00:00
|
|
|
|
2017-07-19 11:29:13 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-06 22:38:26 +00:00
|
|
|
sha256 = "246bf8d3611527030889e6df970878969d3a2f760ba3eb694fa1fb10e6ce53f9";
|
2017-07-19 11:29:13 +01:00
|
|
|
};
|
|
|
|
}
|