Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
46 lines
761 B
Nix
46 lines
761 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libX11,
|
|
libXext,
|
|
libjpeg,
|
|
libpng,
|
|
giflib,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "meh";
|
|
version = "unstable-2018-10-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jhawthorn";
|
|
repo = "meh";
|
|
rev = "69f653a1f16d11b12e5b600e808a740898f3223e";
|
|
sha256 = "sha256-srSwoaajW4H4+kmE7NQAqVz9d/1q2XQ5ayQaOcGwzI0=";
|
|
};
|
|
|
|
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
outputs = [
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
buildInputs = [
|
|
libXext
|
|
libX11
|
|
libjpeg
|
|
libpng
|
|
giflib
|
|
];
|
|
|
|
meta = {
|
|
description = "Minimal image viewer using raw XLib";
|
|
homepage = "https://www.johnhawthorn.com/meh/";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "meh";
|
|
};
|
|
}
|