nixpkgs/pkgs/development/python-modules/aniso8601/default.nix
2019-04-07 23:09:37 +02:00

22 lines
531 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, dateutil, mock, isPy3k }:
buildPythonPackage rec {
pname = "aniso8601";
version = "6.0.0";
meta = with stdenv.lib; {
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;
sha256 = "1bylfskk08ahyma25i8w3mcd0kywpxqx6icv5p7m1z0i8srak9mq";
};
}