1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/aniso8601/default.nix

23 lines
543 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
, dateutil, mock, isPy3k }:
buildPythonPackage rec {
pname = "aniso8601";
2019-10-24 07:47:24 +01:00
version = "8.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;
2019-10-24 07:47:24 +01:00
sha256 = "529dcb1f5f26ee0df6c0a1ee84b7b27197c3c50fc3a6321d66c544689237d072";
};
}