2021-01-15 14:21:58 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libX11, libXext, libjpeg, libpng, giflib }:
|
2017-03-18 23:34:47 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2017-03-18 23:34:47 +01:00
|
|
|
name = "meh-unstable-2015-04-11";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jhawthorn";
|
|
|
|
repo = "meh";
|
|
|
|
rev = "4ab1c75f97cb70543db388b3ed99bcfb7e94c758";
|
|
|
|
sha256 = "1j1n3m9hjhz4faryai97jq7cr6a322cqrd878gpkm9nrikap3bkk";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make PREFIX=$out install
|
|
|
|
'';
|
|
|
|
|
2017-07-11 11:14:14 +02:00
|
|
|
outputs = [ "out" "man" ];
|
2017-03-18 23:34:47 +01:00
|
|
|
|
|
|
|
buildInputs = [ libXext libX11 libjpeg libpng giflib ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A minimal image viewer using raw XLib";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.johnhawthorn.com/meh/";
|
2021-01-15 14:21:58 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.linux;
|
2017-03-18 23:34:47 +01:00
|
|
|
};
|
|
|
|
}
|