tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ical2orgpy: modernize
Amadej Kastelic
7 months ago
965933e2
ad9f5fcf
+16
-11
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ic
ical2orgpy
package.nix
+16
-11
pkgs/by-name/ic/ical2orgpy/package.nix
···
1
{
2
lib,
3
-
python3,
4
fetchFromGitHub,
0
5
}:
6
7
-
python3.pkgs.buildPythonApplication rec {
8
pname = "ical2orgpy";
9
version = "0.5";
10
-
11
-
format = "setuptools";
12
13
src = fetchFromGitHub {
14
owner = "ical2org-py";
15
repo = "ical2org.py";
16
-
rev = version;
17
hash = "sha256-vBi1WYXMuDFS/PnwFQ/fqN5+gIvtylXidfZklyd6LcI=";
18
};
19
20
-
propagatedBuildInputs = with python3.pkgs; [
0
0
21
click
22
future
23
icalendar
···
26
recurring-ical-events
27
];
28
29
-
nativeCheckInputs = with python3.pkgs; [
30
freezegun
31
pytestCheckHook
32
pyyaml
0
33
];
34
35
-
meta = with lib; {
36
-
changelog = "https://github.com/ical2org-py/ical2org.py/blob/${src.rev}/CHANGELOG.rst";
0
0
37
description = "Converting ICAL file into org-mode format";
38
homepage = "https://github.com/ical2org-py/ical2org.py";
39
-
license = licenses.gpl3Only;
40
-
maintainers = with maintainers; [ StillerHarpo ];
41
mainProgram = "ical2orgpy";
42
};
43
···
1
{
2
lib,
3
+
python3Packages,
4
fetchFromGitHub,
5
+
versionCheckHook,
6
}:
7
8
+
python3Packages.buildPythonApplication rec {
9
pname = "ical2orgpy";
10
version = "0.5";
11
+
pyproject = true;
0
12
13
src = fetchFromGitHub {
14
owner = "ical2org-py";
15
repo = "ical2org.py";
16
+
tag = version;
17
hash = "sha256-vBi1WYXMuDFS/PnwFQ/fqN5+gIvtylXidfZklyd6LcI=";
18
};
19
20
+
build-system = [ python3Packages.setuptools ];
21
+
22
+
dependencies = with python3Packages; [
23
click
24
future
25
icalendar
···
28
recurring-ical-events
29
];
30
31
+
nativeCheckInputs = with python3Packages; [
32
freezegun
33
pytestCheckHook
34
pyyaml
35
+
versionCheckHook
36
];
37
38
+
pythonImportsCheck = [ "ical2orgpy" ];
39
+
40
+
meta = {
41
+
changelog = "https://github.com/ical2org-py/ical2org.py/blob/${src.tag}/CHANGELOG.rst";
42
description = "Converting ICAL file into org-mode format";
43
homepage = "https://github.com/ical2org-py/ical2org.py";
44
+
license = lib.licenses.gpl3Only;
45
+
maintainers = with lib.maintainers; [ StillerHarpo ];
46
mainProgram = "ical2orgpy";
47
};
48