2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi
|
2020-04-24 23:36:52 +00:00
|
|
|
, dateutil, mock, isPy3k }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aniso8601";
|
2020-12-09 12:39:15 +00:00
|
|
|
version = "8.1.0";
|
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 ];
|
|
|
|
|
|
|
|
checkInputs = stdenv.lib.optional (!isPy3k) mock;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-09 12:39:15 +00:00
|
|
|
sha256 = "246bf8d3611527030889e6df970878969d3a2f760ba3eb694fa1fb10e6ce53f9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|