gramps: 4.1.1 -> 4.2.6

Motivation for change: GRAMPS was a long way out of date.

Additional information: BSDDB3 unmasked as this is supported by the current Python3 version (commited separately).
This commit is contained in:
joncojonathan 2017-10-07 19:37:09 +01:00
parent 3c8d4854af
commit 3ca090d2b4
2 changed files with 19 additions and 9 deletions

View File

@ -1,23 +1,31 @@
{ stdenv, fetchurl, gtk3, pythonPackages, intltool, { stdenv, fetchFromGitHub, gtk3, pythonPackages, intltool,
pango, gsettings_desktop_schemas }: pango, gsettings_desktop_schemas,
# Optional packages:
enableOSM ? true, osm-gps-map
}:
let let
inherit (pythonPackages) python buildPythonApplication; inherit (pythonPackages) python buildPythonApplication;
in buildPythonApplication rec { in buildPythonApplication rec {
version = "4.1.1"; version = "4.2.6";
name = "gramps-${version}"; name = "gramps-${version}";
buildInputs = [ intltool gtk3 ]; buildInputs = [ intltool gtk3 ]
# Map support
++ stdenv.lib.optional enableOSM osm-gps-map
;
# Currently broken # Currently broken
doCheck = false; doCheck = false;
src = fetchurl { src = fetchFromGitHub {
url = "mirror://sourceforge/gramps/Stable/${version}/${name}.tar.gz"; owner = "gramps-project";
sha256 = "0jdps7yx2mlma1hdj64wssvnqd824xdvw0bmn2dnal5fn3h7h060"; repo = "gramps";
rev = "v${version}";
sha256 = "0k0bx6msc2kvkg0nwa9v2mp3qy7lmnxjd97n6a1zdzlq8yzw29f1";
}; };
pythonPath = with pythonPackages; [ pygobject3 pycairo ] ++ [ pango ]; pythonPath = with pythonPackages; [ bsddb3 PyICU pygobject3 pycairo ] ++ [ pango ];
# Same installPhase as in buildPythonApplication but without --old-and-unmanageble # Same installPhase as in buildPythonApplication but without --old-and-unmanageble
# install flag. # install flag.

View File

@ -14837,7 +14837,9 @@ with pkgs;
gphoto2fs = callPackage ../applications/misc/gphoto2/gphotofs.nix { }; gphoto2fs = callPackage ../applications/misc/gphoto2/gphotofs.nix { };
gramps = callPackage ../applications/misc/gramps { }; gramps = callPackage ../applications/misc/gramps {
pythonPackages = python3Packages;
};
graphicsmagick = callPackage ../applications/graphics/graphicsmagick { }; graphicsmagick = callPackage ../applications/graphics/graphicsmagick { };
graphicsmagick_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; }; graphicsmagick_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; };