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";
|
2021-03-24 09:28:08 +00:00
|
|
|
version = "9.0.1";
|
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;
|
2021-03-24 09:28:08 +00:00
|
|
|
sha256 = "72e3117667eedf66951bb2d93f4296a56b94b078a8a95905a052611fb3f1b973";
|
2017-07-19 11:29:13 +01:00
|
|
|
};
|
|
|
|
}
|