nixpkgs-suyu/pkgs/applications/graphics/meh/default.nix
Tuomas Tynkkynen 1ff422aa23 treewide: Add man & info outputs where necessary (instead of doc)
Because man & info pages won't be going to $doc after the next commit.
Scripted change for the files having one-package-per-file.
2017-08-11 21:32:54 +03:00

27 lines
687 B
Nix

{ 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" "man" ];
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;
};
}