diff --git a/pkgs/applications/graphics/qiv/default.nix b/pkgs/applications/graphics/qiv/default.nix new file mode 100644 index 000000000000..05eb83cee29e --- /dev/null +++ b/pkgs/applications/graphics/qiv/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl, pkgconfig, gtk, imlib2, file } : + +stdenv.mkDerivation (rec { + name = "qiv-2.2.4"; + + src = fetchurl { + url = "http://spiegl.de/qiv/download/${name}.tgz"; + sha256 = "ed6078dc550c1dc2fe35c1e0f46463c13589a24b83d4f7101b71a7485e51abb7"; + }; + + buildInputs = [ pkgconfig gtk imlib2 file ]; + + preBuild=''substituteInPlace Makefile --replace /usr/local "$out"''; + + meta = { + description = "qiv (quick image viewer)"; + homepage = http://spiegl.de/qiv/; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aead61259053..6d8d385fd022 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7693,6 +7693,8 @@ let pqiv = callPackage ../applications/graphics/pqiv { }; + qiv = callPackage ../applications/graphics/qiv { }; + # perhaps there are better apps for this task? It's how I had configured my preivous system. # And I don't want to rewrite all rules procmail = callPackage ../applications/misc/procmail { };