Skip to content

Commit

Permalink
python3.pkgs.ciso8601: init at 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Mar 28, 2020
1 parent 62831e1 commit 49e252a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/development/python-modules/ciso8601/default.nix
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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 { };
Expand Down

0 comments on commit 49e252a

Please sign in to comment.