1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/applications/graphics/meh/default.nix
2020-04-10 17:54:53 +01:00

28 lines
686 B
Nix

{ stdenv, fetchFromGitHub, libX11, libXext, libjpeg, libpng, giflib }:
stdenv.mkDerivation {
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 = "https://www.johnhawthorn.com/meh/";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
};
}