summary refs log tree commit diff
path: root/pkgs/applications/graphics/meh
diff options
context:
space:
mode:
authorneeasade <nathanisom27@gmail.com>2017-03-18 17:34:47 -0500
committerneeasade <nathanisom27@gmail.com>2017-03-18 21:11:22 -0500
commit78a0bdfa98f2931d887f918f12848aed70efcddf (patch)
treea897326349170f705427e73a868c51b8adff7452 /pkgs/applications/graphics/meh
parent16fff5ebce23c0f275abbabfb21ff4270100f674 (diff)
downloadnixpkgs-78a0bdfa98f2931d887f918f12848aed70efcddf.tar
nixpkgs-78a0bdfa98f2931d887f918f12848aed70efcddf.tar.gz
nixpkgs-78a0bdfa98f2931d887f918f12848aed70efcddf.tar.bz2
nixpkgs-78a0bdfa98f2931d887f918f12848aed70efcddf.tar.lz
nixpkgs-78a0bdfa98f2931d887f918f12848aed70efcddf.tar.xz
nixpkgs-78a0bdfa98f2931d887f918f12848aed70efcddf.tar.zst
nixpkgs-78a0bdfa98f2931d887f918f12848aed70efcddf.zip
meh: init at unstable-2015-04-11
Diffstat (limited to 'pkgs/applications/graphics/meh')
-rw-r--r--pkgs/applications/graphics/meh/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/meh/default.nix b/pkgs/applications/graphics/meh/default.nix
new file mode 100644
index 00000000000..1b5fbc2271b
--- /dev/null
+++ b/pkgs/applications/graphics/meh/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, libX11, libXext, libjpeg, libpng, giflib }:
+
+stdenv.mkDerivation rec {
+  name = "meh-unstable-2015-04-11";
+
+  src = fetchFromGitHub {
+    owner = "jhawthorn";
+    repo = "meh";
+    rev = "4ab1c75f97cb70543db388b3ed99bcfb7e94c758";
+    sha256 = "1j1n3m9hjhz4faryai97jq7cr6a322cqrd878gpkm9nrikap3bkk";
+  };
+
+  installPhase = ''
+    make PREFIX=$out install
+  '';
+
+  outputs = [ "out" "doc" ];
+
+  buildInputs = [ libXext libX11 libjpeg libpng giflib ];
+
+  meta = {
+    description = "A minimal image viewer using raw XLib";
+    homepage = http://www.johnhawthorn.com/meh/;
+    license = stdenv.lib.licenses.mit;
+    platforms = stdenv.lib.platforms.linux;
+  };
+}