[Nix-dev] [PATCH] qiv: add version 2.2.4
Petar Bogdanovic
petar at smokva.net
Fri Jan 11 20:24:20 CET 2013
---
pkgs/applications/graphics/qiv/default.nix | 19 +++++++++++++++++++
pkgs/top-level/all-packages.nix | 2 ++
2 files changed, 21 insertions(+)
create mode 100644 pkgs/applications/graphics/qiv/default.nix
diff --git a/pkgs/applications/graphics/qiv/default.nix b/pkgs/applications/graphics/qiv/default.nix
new file mode 100644
index 0000000..05eb83c
--- /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 b59a8a6..ad5275a 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -7687,6 +7687,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 { };
--
1.8.0.1
More information about the nix-dev
mailing list