2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libX11, libXext, libjpeg, libpng, giflib }:
|
2017-03-18 22:34:47 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2021-08-22 21:10:39 +00:00
|
|
|
pname = "meh";
|
|
|
|
version = "unstable-2018-10-22";
|
2017-03-18 22:34:47 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jhawthorn";
|
|
|
|
repo = "meh";
|
2021-08-22 21:10:39 +00:00
|
|
|
rev = "69f653a1f16d11b12e5b600e808a740898f3223e";
|
|
|
|
sha256 = "sha256-srSwoaajW4H4+kmE7NQAqVz9d/1q2XQ5ayQaOcGwzI0=";
|
2017-03-18 22:34:47 +00:00
|
|
|
};
|
|
|
|
|
2021-08-22 21:10:39 +00:00
|
|
|
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
2017-03-18 22:34:47 +00:00
|
|
|
|
2017-07-11 09:14:14 +00:00
|
|
|
outputs = [ "out" "man" ];
|
2017-03-18 22:34:47 +00:00
|
|
|
|
|
|
|
buildInputs = [ libXext libX11 libjpeg libpng giflib ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A minimal image viewer using raw XLib";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.johnhawthorn.com/meh/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.linux;
|
2017-03-18 22:34:47 +00:00
|
|
|
};
|
|
|
|
}
|