blob: d29d0f36a6cfa92e4b316951510ee0f9846e1a9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
pytz,
}:
buildPythonPackage rec {
pname = "ciso8601";
version = "2.3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "closeio";
repo = "ciso8601";
tag = "v${version}";
hash = "sha256-14HiCn8BPALPaW53k118lHb5F4oG9mMNN6sdLdKB6v0=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
pytz
];
enabledTestPaths = [ "tests/tests.py" ];
pythonImportsCheck = [ "ciso8601" ];
meta = {
description = "Fast ISO8601 date time parser for Python written in C";
homepage = "https://github.com/closeio/ciso8601";
changelog = "https://github.com/closeio/ciso8601/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mic92 ];
};
}
|