Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/release-notes/rl-2511.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

- `vmalert` now supports multiple instances with the option `services.vmalert.instances."".enable`
et al..
- `gramps` has been updated to 6.0.0
Upstream recommends [backing up your Family Trees](https://gramps-project.org/wiki/index.php/Gramps_6.0_Wiki_Manual_-_Manage_Family_Trees#Backing_up_a_Family_Tree) before upgrading.

## Nixpkgs Library {#sec-nixpkgs-release-25.11-lib}

Expand Down
31 changes: 15 additions & 16 deletions pkgs/by-name/gr/gramps/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,16 @@
ghostscript,
}:

let
inherit (python3Packages) buildPythonApplication pythonOlder;
in
buildPythonApplication rec {
version = "5.2.4";
python3Packages.buildPythonApplication rec {
version = "6.0.1";
pname = "gramps";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchFromGitHub {
owner = "gramps-project";
repo = "gramps";
tag = "v${version}";
hash = "sha256-Jue5V4pzfd1MaZwEhkGam+MhNjaisio7byMBPgGmiFg=";
hash = "sha256-EKiC7zFIAXwKXun8jixanVmBI5XyQlxBcN5rxbqdq9k=";
};

patches = [
Expand All @@ -46,12 +41,23 @@ buildPythonApplication rec {
./disable-gtk-warning-dialog.patch
];

build-system = [
python3Packages.setuptools
];

dependencies = with python3Packages; [
berkeleydb
orjson
pyicu
pygobject3
pycairo
];

nativeBuildInputs = [
wrapGAppsHook3
intltool
gettext
gobject-introspection
python3Packages.setuptools
];

nativeCheckInputs =
Expand Down Expand Up @@ -83,13 +89,6 @@ buildPythonApplication rec {
# Ghostscript support
++ lib.optional enableGhostscript ghostscript;

propagatedBuildInputs = with python3Packages; [
berkeleydb
pyicu
pygobject3
pycairo
];

preCheck = ''
export HOME=$(mktemp -d)
mkdir .git # Make gramps think that it's not in an installed state
Expand Down
Loading