python3.pkgs.ciso8601: init at 2.1.3
This commit is contained in:
parent
62831e1023
commit
49e252a46c
30
pkgs/development/python-modules/ciso8601/default.nix
Normal file
30
pkgs/development/python-modules/ciso8601/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -509,6 +509,8 @@ in {
|
||||||
|
|
||||||
breezy = callPackage ../development/python-modules/breezy { };
|
breezy = callPackage ../development/python-modules/breezy { };
|
||||||
|
|
||||||
|
ciso8601 = callPackage ../development/python-modules/ciso8601 { };
|
||||||
|
|
||||||
deepdiff = callPackage ../development/python-modules/deepdiff { };
|
deepdiff = callPackage ../development/python-modules/deepdiff { };
|
||||||
|
|
||||||
django-sesame = callPackage ../development/python-modules/django-sesame { };
|
django-sesame = callPackage ../development/python-modules/django-sesame { };
|
||||||
|
|
Loading…
Reference in a new issue