Merge pull request #132248 from smancill/bump-pympress

pympress: 1.5.1 -> 1.6.3
This commit is contained in:
Sandro 2021-08-08 12:29:37 +02:00 committed by GitHub
commit 4a42e7dd14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,34 @@
{ lib { lib
, stdenv
, fetchpatch
, python3Packages , python3Packages
, wrapGAppsHook , wrapGAppsHook
, gtk3 , gtk3
, gobject-introspection , gobject-introspection
, libcanberra-gtk3 , libcanberra-gtk3
, poppler_gi , poppler_gi
, withGstreamer ? stdenv.isLinux
, withVLC ? stdenv.isLinux
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pympress"; pname = "pympress";
version = "1.5.1"; version = "1.6.3";
src = python3Packages.fetchPypi { src = python3Packages.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "173d9scf2z29qg279jf33zcl7sgc3wp662fgpm943bn9667q18wf"; sha256 = "sha256-f+OjE0x/3yfJYHCLB+on7TT7MJ2vNu87SHRi67qFDCM=";
}; };
patches = [
# Should not be needed once v1.6.4 is released
(fetchpatch {
name = "fix-setuptools-version-parsing.patch";
url = "https://github.com/Cimbali/pympress/commit/474514d71396ac065e210fd846e07ed1139602d0.diff";
sha256 = "sha256-eiw54sjMrXrNrhtkAXxiSTatzoA0NDA03L+HpTDax58=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
wrapGAppsHook wrapGAppsHook
]; ];
@ -23,16 +36,15 @@ python3Packages.buildPythonApplication rec {
buildInputs = [ buildInputs = [
gtk3 gtk3
gobject-introspection gobject-introspection
libcanberra-gtk3
poppler_gi poppler_gi
]; ] ++ lib.optional withGstreamer libcanberra-gtk3;
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
pycairo pycairo
pygobject3 pygobject3
python-vlc setuptools
watchdog watchdog
]; ] ++ lib.optional withVLC python-vlc;
doCheck = false; # there are no tests doCheck = false; # there are no tests