1 file changed +15
-16
lines changed Original file line number Diff line number Diff line change 20
20
ghostscript ,
21
21
} :
22
22
23
- let
24
- inherit ( python3Packages ) buildPythonApplication pythonOlder ;
25
- in
26
- buildPythonApplication rec {
27
- version = "5.2.4" ;
23
+ python3Packages . buildPythonApplication rec {
24
+ version = "6.0.0" ;
28
25
pname = "gramps" ;
29
26
pyproject = true ;
30
27
31
- disabled = pythonOlder "3.8" ;
32
-
33
28
src = fetchFromGitHub {
34
29
owner = "gramps-project" ;
35
30
repo = "gramps" ;
36
31
tag = "v${ version } " ;
37
- hash = "sha256-Jue5V4pzfd1MaZwEhkGam+MhNjaisio7byMBPgGmiFg =" ;
32
+ hash = "sha256-7/KBvNNXCma4z8oebZVSN2HEHzG5MS/vuudlC5/i7VM =" ;
38
33
} ;
39
34
40
35
patches = [
@@ -44,12 +39,23 @@ buildPythonApplication rec {
44
39
./disable-gtk-warning-dialog.patch
45
40
] ;
46
41
42
+ build-system = [
43
+ python3Packages . setuptools
44
+ ] ;
45
+
46
+ dependencies = with python3Packages ; [
47
+ berkeleydb
48
+ orjson
49
+ pyicu
50
+ pygobject3
51
+ pycairo
52
+ ] ;
53
+
47
54
nativeBuildInputs = [
48
55
wrapGAppsHook3
49
56
intltool
50
57
gettext
51
58
gobject-introspection
52
- python3Packages . setuptools
53
59
] ;
54
60
55
61
nativeCheckInputs = [
@@ -76,13 +82,6 @@ buildPythonApplication rec {
76
82
# Ghostscript support
77
83
++ lib . optional enableGhostscript ghostscript ;
78
84
79
- propagatedBuildInputs = with python3Packages ; [
80
- berkeleydb
81
- pyicu
82
- pygobject3
83
- pycairo
84
- ] ;
85
-
86
85
preCheck = ''
87
86
export HOME=$(mktemp -d)
88
87
mkdir .git # Make gramps think that it's not in an installed state
0 commit comments