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-03-09 03:18:52 +00:00
|
|
|
version = "8.1.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-03-09 03:18:52 +00:00
|
|
|
sha256 = "be08b19c19ca527af722f2d4ba4dc569db292ec96f7de963746df4bb0bff9250";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|