3
0
Fork 0
forked from mirrors/nixpkgs

python3.pkgs.ciso8601: init at 2.1.3

This commit is contained in:
Jörg Thalheim 2020-03-18 15:45:39 +00:00
parent 62831e1023
commit 49e252a46c
No known key found for this signature in database
GPG key ID: 003F2096411B5F92
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytz
, unittest2
, isPy27
}:
buildPythonPackage rec {
pname = "ciso8601";
version = "2.1.3";
src = fetchFromGitHub {
owner = "closeio";
repo = "ciso8601";
rev = "v${version}";
sha256 = "0g1aiyc1ayh0rnibyy416m5mmck38ksgdm3jsy0z3rxgmgb24951";
};
checkInputs = [
pytz
] ++ lib.optional (isPy27) unittest2;
meta = with lib; {
description = "Fast ISO8601 date time parser for Python written in C";
homepage = "https://github.com/closeio/ciso8601";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}

View file

@ -509,6 +509,8 @@ in {
breezy = callPackage ../development/python-modules/breezy { };
ciso8601 = callPackage ../development/python-modules/ciso8601 { };
deepdiff = callPackage ../development/python-modules/deepdiff { };
django-sesame = callPackage ../development/python-modules/django-sesame { };