2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2020-04-24 23:36:52 +00:00
|
|
|
, dateutil, mock, isPy3k }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aniso8601";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "9.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Parses ISO 8601 strings.";
|
|
|
|
homepage = "https://bitbucket.org/nielsenb/aniso8601";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ dateutil ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
checkInputs = lib.optional (!isPy3k) mock;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "72e3117667eedf66951bb2d93f4296a56b94b078a8a95905a052611fb3f1b973";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|