blob: e8de357e0f30eba5d23b8be9005d35edb6af53e2 (
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
41
42
43
44
45
46
47
48
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
icalendar,
rich,
typer,
x-wr-timezone,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "mergecal";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mergecal";
repo = "python-mergecal";
tag = "v${version}";
hash = "sha256-Je3gFREu97Ycofszhr6pKOCiK76oBuzb3ji4LAf5aE8=";
};
build-system = [ setuptools ];
dependencies = [
icalendar
rich
typer
x-wr-timezone
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "mergecal" ];
meta = {
homepage = "https://mergecal.readthedocs.io/en/latest/";
changelog = "https://github.com/mergecal/python-mergecal/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ erictapen ];
};
}
|