summary refs log tree commit diff
path: root/pkgs/applications/graphics/djview
diff options
context:
space:
mode:
authorndowens <ndowens04@gmail.com>2017-03-19 08:40:15 -0500
committerVladimír Čunát <vcunat@gmail.com>2017-03-19 14:40:15 +0100
commit64a880faa6c890ca11ed12b8b1aef4df8e5b1397 (patch)
tree9c45772c73d00a13a75971818cbd1e004d3f363f /pkgs/applications/graphics/djview
parentde96020789d2dd5665dfb32fa424ef5f876ab41f (diff)
downloadnixpkgs-64a880faa6c890ca11ed12b8b1aef4df8e5b1397.tar
nixpkgs-64a880faa6c890ca11ed12b8b1aef4df8e5b1397.tar.gz
nixpkgs-64a880faa6c890ca11ed12b8b1aef4df8e5b1397.tar.bz2
nixpkgs-64a880faa6c890ca11ed12b8b1aef4df8e5b1397.tar.lz
nixpkgs-64a880faa6c890ca11ed12b8b1aef4df8e5b1397.tar.xz
nixpkgs-64a880faa6c890ca11ed12b8b1aef4df8e5b1397.tar.zst
nixpkgs-64a880faa6c890ca11ed12b8b1aef4df8e5b1397.zip
djview: 4.10.5 -> 4.10.6 (#24029)
Diffstat (limited to 'pkgs/applications/graphics/djview')
-rw-r--r--pkgs/applications/graphics/djview/default.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/applications/graphics/djview/default.nix b/pkgs/applications/graphics/djview/default.nix
index 2276b868b59..2ce1ebb257d 100644
--- a/pkgs/applications/graphics/djview/default.nix
+++ b/pkgs/applications/graphics/djview/default.nix
@@ -1,19 +1,18 @@
-{ stdenv, fetchurl, pkgconfig, djvulibre, qt4, xorg, libtiff }:
+{ stdenv, fetchurl, pkgconfig
+, djvulibre, qt4, xorg, libtiff }:
 
-let
-  qt = qt4;
-  # TODO: qt = qt5.base; # should work but there's a mysterious "-silent" error
-in
 stdenv.mkDerivation rec {
-  name = "djview-4.10.5";
+  name = "djview-${version}";
+  version = "4.10.6";
+
   src = fetchurl {
     url = "mirror://sourceforge/djvu/${name}.tar.gz";
-    sha256 = "0gbvbly7w3cr8wgpyh76nf9w7cf7740vp7k5hccks186f6005cx0";
+    sha256 = "08bwv8ppdzhryfcnifgzgdilb12jcnivl4ig6hd44f12d76z6il4";
   };
 
   nativeBuildInputs = [ pkgconfig ];
 
-  buildInputs = [ djvulibre qt xorg.libXt libtiff ];
+  buildInputs = [ djvulibre qt4 xorg.libXt libtiff ];
 
   passthru = {
     mozillaPlugin = "/lib/netscape/plugins";
@@ -23,7 +22,7 @@ stdenv.mkDerivation rec {
     homepage = http://djvu.sourceforge.net/djview4.html;
     description = "A portable DjVu viewer and browser plugin";
     license = licenses.gpl2;
-    inherit (qt.meta) platforms;
+    platforms = platforms.unix;
     maintainers = [ maintainers.urkud ];
   };
 }