Merge pull request #132248 from smancill/bump-pympress

pympress: 1.5.1 -> 1.6.3

authored by Sandro and committed by GitHub 4a42e7dd 3d59c44d

+18 -6
+18 -6
pkgs/applications/office/pympress/default.nix
··· 1 { lib 2 , python3Packages 3 , wrapGAppsHook 4 , gtk3 5 , gobject-introspection 6 , libcanberra-gtk3 7 , poppler_gi 8 }: 9 10 python3Packages.buildPythonApplication rec { 11 pname = "pympress"; 12 - version = "1.5.1"; 13 14 src = python3Packages.fetchPypi { 15 inherit pname version; 16 - sha256 = "173d9scf2z29qg279jf33zcl7sgc3wp662fgpm943bn9667q18wf"; 17 }; 18 19 nativeBuildInputs = [ 20 wrapGAppsHook 21 ]; ··· 23 buildInputs = [ 24 gtk3 25 gobject-introspection 26 - libcanberra-gtk3 27 poppler_gi 28 - ]; 29 30 propagatedBuildInputs = with python3Packages; [ 31 pycairo 32 pygobject3 33 - python-vlc 34 watchdog 35 - ]; 36 37 doCheck = false; # there are no tests 38
··· 1 { lib 2 + , stdenv 3 + , fetchpatch 4 , python3Packages 5 , wrapGAppsHook 6 , gtk3 7 , gobject-introspection 8 , libcanberra-gtk3 9 , poppler_gi 10 + , withGstreamer ? stdenv.isLinux 11 + , withVLC ? stdenv.isLinux 12 }: 13 14 python3Packages.buildPythonApplication rec { 15 pname = "pympress"; 16 + version = "1.6.3"; 17 18 src = python3Packages.fetchPypi { 19 inherit pname version; 20 + sha256 = "sha256-f+OjE0x/3yfJYHCLB+on7TT7MJ2vNu87SHRi67qFDCM="; 21 }; 22 23 + patches = [ 24 + # Should not be needed once v1.6.4 is released 25 + (fetchpatch { 26 + name = "fix-setuptools-version-parsing.patch"; 27 + url = "https://github.com/Cimbali/pympress/commit/474514d71396ac065e210fd846e07ed1139602d0.diff"; 28 + sha256 = "sha256-eiw54sjMrXrNrhtkAXxiSTatzoA0NDA03L+HpTDax58="; 29 + }) 30 + ]; 31 + 32 nativeBuildInputs = [ 33 wrapGAppsHook 34 ]; ··· 36 buildInputs = [ 37 gtk3 38 gobject-introspection 39 poppler_gi 40 + ] ++ lib.optional withGstreamer libcanberra-gtk3; 41 42 propagatedBuildInputs = with python3Packages; [ 43 pycairo 44 pygobject3 45 + setuptools 46 watchdog 47 + ] ++ lib.optional withVLC python-vlc; 48 49 doCheck = false; # there are no tests 50