Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #30200 from joncojonathan/update-gramps426

Update gramps426

authored by

Jörg Thalheim and committed by
GitHub
8f8a7f34 58b6d3fd

+21 -10
+16 -8
pkgs/applications/misc/gramps/default.nix
··· 1 - { stdenv, fetchurl, gtk3, pythonPackages, intltool, 2 - pango, gsettings_desktop_schemas }: 1 + { stdenv, fetchFromGitHub, gtk3, pythonPackages, intltool, 2 + pango, gsettings_desktop_schemas, 3 + # Optional packages: 4 + enableOSM ? true, osm-gps-map 5 + }: 3 6 4 7 let 5 8 inherit (pythonPackages) python buildPythonApplication; 6 9 in buildPythonApplication rec { 7 - version = "4.1.1"; 10 + version = "4.2.6"; 8 11 name = "gramps-${version}"; 9 12 10 - buildInputs = [ intltool gtk3 ]; 13 + buildInputs = [ intltool gtk3 ] 14 + # Map support 15 + ++ stdenv.lib.optional enableOSM osm-gps-map 16 + ; 11 17 12 18 # Currently broken 13 19 doCheck = false; 14 20 15 - src = fetchurl { 16 - url = "mirror://sourceforge/gramps/Stable/${version}/${name}.tar.gz"; 17 - sha256 = "0jdps7yx2mlma1hdj64wssvnqd824xdvw0bmn2dnal5fn3h7h060"; 21 + src = fetchFromGitHub { 22 + owner = "gramps-project"; 23 + repo = "gramps"; 24 + rev = "v${version}"; 25 + sha256 = "0k0bx6msc2kvkg0nwa9v2mp3qy7lmnxjd97n6a1zdzlq8yzw29f1"; 18 26 }; 19 27 20 - pythonPath = with pythonPackages; [ pygobject3 pycairo ] ++ [ pango ]; 28 + pythonPath = with pythonPackages; [ bsddb3 PyICU pygobject3 pycairo ] ++ [ pango ]; 21 29 22 30 # Same installPhase as in buildPythonApplication but without --old-and-unmanageble 23 31 # install flag.
+3 -1
pkgs/top-level/all-packages.nix
··· 14837 14837 14838 14838 gphoto2fs = callPackage ../applications/misc/gphoto2/gphotofs.nix { }; 14839 14839 14840 - gramps = callPackage ../applications/misc/gramps { }; 14840 + gramps = callPackage ../applications/misc/gramps { 14841 + pythonPackages = python3Packages; 14842 + }; 14841 14843 14842 14844 graphicsmagick = callPackage ../applications/graphics/graphicsmagick { }; 14843 14845 graphicsmagick_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; };
+2 -1
pkgs/top-level/python-packages.nix
··· 2093 2093 buildInputs = [ pkgs.db ]; 2094 2094 2095 2095 # Judging from SyntaxError in test 2096 - disabled = isPy3k; 2096 + # disabled = isPy3k; 2097 + doCheck = false; # test suite breaks python3 compatibility 2097 2098 2098 2099 # Path to database need to be set. 2099 2100 # Somehow the setup.py flag is not propagated.