nixpkgs-suyu/pkgs/development/python-modules/aniso8601/default.nix
R. RyanTM 70cf345947 python37Packages.aniso8601: 6.0.0 -> 7.0.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-aniso8601/versions
2019-06-23 18:12:39 +02:00

22 lines
531 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, dateutil, mock, isPy3k }:
buildPythonPackage rec {
pname = "aniso8601";
version = "7.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 = "07jgf55yq2j2q76gaj3hakflnxg8yfkarzvrmq33i1dp6xk2ngai";
};
}