linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / ciso8601 / default.nix
blobd0de4b320e8dc03e214d99dacf0d18ce823a873e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytz
5 , unittest2
6 , isPy27
7 }:
9 buildPythonPackage rec {
10   pname = "ciso8601";
11   version = "2.1.3";
13   src = fetchFromGitHub {
14     owner = "closeio";
15     repo = "ciso8601";
16     rev = "v${version}";
17     sha256 = "0g1aiyc1ayh0rnibyy416m5mmck38ksgdm3jsy0z3rxgmgb24951";
18   };
20   checkInputs = [
21     pytz
22   ] ++ lib.optional (isPy27) unittest2;
24   meta = with lib; {
25     description = "Fast ISO8601 date time parser for Python written in C";
26     homepage = "https://github.com/closeio/ciso8601";
27     license = licenses.mit;
28     maintainers = [ maintainers.mic92 ];
29   };