mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Merge pull request #30200 from joncojonathan/update-gramps426
Update gramps426
This commit is contained in:
commit
8f8a7f34f5
@ -1,23 +1,31 @@
|
||||
{ stdenv, fetchurl, gtk3, pythonPackages, intltool,
|
||||
pango, gsettings_desktop_schemas }:
|
||||
{ stdenv, fetchFromGitHub, gtk3, pythonPackages, intltool,
|
||||
pango, gsettings_desktop_schemas,
|
||||
# Optional packages:
|
||||
enableOSM ? true, osm-gps-map
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (pythonPackages) python buildPythonApplication;
|
||||
in buildPythonApplication rec {
|
||||
version = "4.1.1";
|
||||
version = "4.2.6";
|
||||
name = "gramps-${version}";
|
||||
|
||||
buildInputs = [ intltool gtk3 ];
|
||||
buildInputs = [ intltool gtk3 ]
|
||||
# Map support
|
||||
++ stdenv.lib.optional enableOSM osm-gps-map
|
||||
;
|
||||
|
||||
# Currently broken
|
||||
doCheck = false;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gramps/Stable/${version}/${name}.tar.gz";
|
||||
sha256 = "0jdps7yx2mlma1hdj64wssvnqd824xdvw0bmn2dnal5fn3h7h060";
|
||||
src = fetchFromGitHub {
|
||||
owner = "gramps-project";
|
||||
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
|
||||
# install flag.
|
||||
|
@ -14837,7 +14837,9 @@ with pkgs;
|
||||
|
||||
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_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; };
|
||||
|
@ -2093,7 +2093,8 @@ in {
|
||||
buildInputs = [ pkgs.db ];
|
||||
|
||||
# Judging from SyntaxError in test
|
||||
disabled = isPy3k;
|
||||
# disabled = isPy3k;
|
||||
doCheck = false; # test suite breaks python3 compatibility
|
||||
|
||||
# Path to database need to be set.
|
||||
# Somehow the setup.py flag is not propagated.
|
||||
|
Loading…
Reference in New Issue
Block a user