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
1
{
2
2
lib,
3
3
-
python3,
3
3
+
python3Packages,
4
4
fetchFromGitHub,
5
5
+
versionCheckHook,
5
6
}:
6
7
7
7
-
python3.pkgs.buildPythonApplication rec {
8
8
+
python3Packages.buildPythonApplication rec {
8
9
pname = "ical2orgpy";
9
10
version = "0.5";
10
10
-
11
11
-
format = "setuptools";
11
11
+
pyproject = true;
12
12
13
13
src = fetchFromGitHub {
14
14
owner = "ical2org-py";
15
15
repo = "ical2org.py";
16
16
-
rev = version;
16
16
+
tag = version;
17
17
hash = "sha256-vBi1WYXMuDFS/PnwFQ/fqN5+gIvtylXidfZklyd6LcI=";
18
18
};
19
19
20
20
-
propagatedBuildInputs = with python3.pkgs; [
20
20
+
build-system = [ python3Packages.setuptools ];
21
21
+
22
22
+
dependencies = with python3Packages; [
21
23
click
22
24
future
23
25
icalendar
···
26
28
recurring-ical-events
27
29
];
28
30
29
29
-
nativeCheckInputs = with python3.pkgs; [
31
31
+
nativeCheckInputs = with python3Packages; [
30
32
freezegun
31
33
pytestCheckHook
32
34
pyyaml
35
35
+
versionCheckHook
33
36
];
34
37
35
35
-
meta = with lib; {
36
36
-
changelog = "https://github.com/ical2org-py/ical2org.py/blob/${src.rev}/CHANGELOG.rst";
38
38
+
pythonImportsCheck = [ "ical2orgpy" ];
39
39
+
40
40
+
meta = {
41
41
+
changelog = "https://github.com/ical2org-py/ical2org.py/blob/${src.tag}/CHANGELOG.rst";
37
42
description = "Converting ICAL file into org-mode format";
38
43
homepage = "https://github.com/ical2org-py/ical2org.py";
39
39
-
license = licenses.gpl3Only;
40
40
-
maintainers = with maintainers; [ StillerHarpo ];
44
44
+
license = lib.licenses.gpl3Only;
45
45
+
maintainers = with lib.maintainers; [ StillerHarpo ];
41
46
mainProgram = "ical2orgpy";
42
47
};
43
48