nixpkgs/pkgs/development/python-modules/aniso8601/default.nix
2017-10-27 21:34:42 +02:00

22 lines
508 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, dateutil }:
buildPythonPackage rec {
pname = "aniso8601";
version = "1.3.0";
name = "${pname}-${version}";
meta = with stdenv.lib; {
description = "Parses ISO 8601 strings.";
homepage = "https://bitbucket.org/nielsenb/aniso8601";
license = licenses.bsd3;
};
propagatedBuildInputs = [ dateutil ];
src = fetchPypi {
inherit pname version;
sha256 = "c3b5246f5601b6ae5671911bc4ee5b3e3fe94752e8afab5ce074d8b1232952f1";
};
}