Skip to content

Commit cfcdfa1

Browse files
committedMar 20, 2025
gramps: 5.2.4 -> 6.0.0
1 parent ac30ae4 commit cfcdfa1

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed
 

‎pkgs/by-name/gr/gramps/package.nix

+15-16
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,16 @@
2020
ghostscript,
2121
}:
2222

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";
2825
pname = "gramps";
2926
pyproject = true;
3027

31-
disabled = pythonOlder "3.8";
32-
3328
src = fetchFromGitHub {
3429
owner = "gramps-project";
3530
repo = "gramps";
3631
tag = "v${version}";
37-
hash = "sha256-Jue5V4pzfd1MaZwEhkGam+MhNjaisio7byMBPgGmiFg=";
32+
hash = "sha256-7/KBvNNXCma4z8oebZVSN2HEHzG5MS/vuudlC5/i7VM=";
3833
};
3934

4035
patches = [
@@ -44,12 +39,23 @@ buildPythonApplication rec {
4439
./disable-gtk-warning-dialog.patch
4540
];
4641

42+
build-system = [
43+
python3Packages.setuptools
44+
];
45+
46+
dependencies = with python3Packages; [
47+
berkeleydb
48+
orjson
49+
pyicu
50+
pygobject3
51+
pycairo
52+
];
53+
4754
nativeBuildInputs = [
4855
wrapGAppsHook3
4956
intltool
5057
gettext
5158
gobject-introspection
52-
python3Packages.setuptools
5359
];
5460

5561
nativeCheckInputs = [
@@ -76,13 +82,6 @@ buildPythonApplication rec {
7682
# Ghostscript support
7783
++ lib.optional enableGhostscript ghostscript;
7884

79-
propagatedBuildInputs = with python3Packages; [
80-
berkeleydb
81-
pyicu
82-
pygobject3
83-
pycairo
84-
];
85-
8685
preCheck = ''
8786
export HOME=$(mktemp -d)
8887
mkdir .git # Make gramps think that it's not in an installed state

0 commit comments

Comments
 (0)
Failed to load comments.