2017-07-19 11:29:13 +01:00
|
|
|
{ stdenv, 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";
|
2019-04-07 22:09:37 +01:00
|
|
|
version = "6.0.0";
|
2017-07-19 11:29:13 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Parses ISO 8601 strings.";
|
|
|
|
homepage = "https://bitbucket.org/nielsenb/aniso8601";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ dateutil ];
|
|
|
|
|
2019-01-17 09:44:56 +00:00
|
|
|
checkInputs = stdenv.lib.optional (!isPy3k) mock;
|
|
|
|
|
2017-07-19 11:29:13 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-07 22:09:37 +01:00
|
|
|
sha256 = "1bylfskk08ahyma25i8w3mcd0kywpxqx6icv5p7m1z0i8srak9mq";
|
2017-07-19 11:29:13 +01:00
|
|
|
};
|
|
|
|
}
|