summary refs log tree commit diff
path: root/pkgs/applications/graphics/nomacs
diff options
context:
space:
mode:
authorTaahir Ahmed <ahmed.taahir@gmail.com>2018-04-07 15:09:35 -0700
committerTaahir Ahmed <ahmed.taahir@gmail.com>2018-04-07 15:09:35 -0700
commit642bd5fe92ed64e7a041850793099a35ce6f3142 (patch)
tree519422b6a0fd4ac5d1f8ca41a70662736b7d1662 /pkgs/applications/graphics/nomacs
parente1dee4efcbffc72260025078bf8297a3b732509c (diff)
downloadnixlib-642bd5fe92ed64e7a041850793099a35ce6f3142.tar
nixlib-642bd5fe92ed64e7a041850793099a35ce6f3142.tar.gz
nixlib-642bd5fe92ed64e7a041850793099a35ce6f3142.tar.bz2
nixlib-642bd5fe92ed64e7a041850793099a35ce6f3142.tar.lz
nixlib-642bd5fe92ed64e7a041850793099a35ce6f3142.tar.xz
nixlib-642bd5fe92ed64e7a041850793099a35ce6f3142.tar.zst
nixlib-642bd5fe92ed64e7a041850793099a35ce6f3142.zip
nomacs: 3.6.1 -> 3.8.1
Fixes a build issue introduced by a Qt5 upgrade [1], and lets us drop
our installation-path patch.

[1] https://github.com/nomacs/nomacs/issues/203
Diffstat (limited to 'pkgs/applications/graphics/nomacs')
-rw-r--r--pkgs/applications/graphics/nomacs/default.nix6
-rw-r--r--pkgs/applications/graphics/nomacs/fix-appdata-install.patch13
2 files changed, 2 insertions, 17 deletions
diff --git a/pkgs/applications/graphics/nomacs/default.nix b/pkgs/applications/graphics/nomacs/default.nix
index 8c3a8bc894b3..675c4e6a49ef 100644
--- a/pkgs/applications/graphics/nomacs/default.nix
+++ b/pkgs/applications/graphics/nomacs/default.nix
@@ -18,12 +18,12 @@
 }:
 
 stdenv.mkDerivation rec {
-  version = "3.6.1";
+  version = "3.8.1";
   src = fetchFromGitHub {
     owner = "nomacs";
     repo = "nomacs";
     rev = version;
-    sha256 = "0yli05hhmd57v3mynq78nmr15rbpm0vadv273pavmcnayv86yl44";
+    sha256 = "1irms980d7acdqrfn8isw55vgc4d9n26ff86887vk7xfvxs0ayla";
   };
 
   name = "nomacs-${version}";
@@ -34,8 +34,6 @@ stdenv.mkDerivation rec {
     sourceRoot=$(echo */ImageLounge)
   '';
 
-  patches = [./fix-appdata-install.patch];
-
   nativeBuildInputs = [cmake
                        pkgconfig
                        wrapGAppsHook];
diff --git a/pkgs/applications/graphics/nomacs/fix-appdata-install.patch b/pkgs/applications/graphics/nomacs/fix-appdata-install.patch
deleted file mode 100644
index cdeed56f496d..000000000000
--- a/pkgs/applications/graphics/nomacs/fix-appdata-install.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/cmake/UnixBuildTarget.cmake b/cmake/UnixBuildTarget.cmake
-index 3521056a..34f99ed9 100644
---- a/cmake/UnixBuildTarget.cmake
-+++ b/cmake/UnixBuildTarget.cmake
-@@ -80,7 +80,7 @@ install(FILES ${NOMACS_QM} DESTINATION share/nomacs/translations)
- #  manpage
- install(FILES Readme/nomacs.1 DESTINATION share/man/man1)
- #  appdata
--install(FILES nomacs.appdata.xml DESTINATION /usr/share/appdata/)
-+install(FILES nomacs.appdata.xml DESTINATION share/appdata/)
- 
- # "make dist" target
- string(TOLOWER ${PROJECT_NAME} CPACK_PACKAGE_NAME)