mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
5d8e6ff956
* meh: 2015-04-11 -> 2018-10-22 * Update pkgs/applications/graphics/meh/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
27 lines
689 B
Nix
27 lines
689 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 = "A minimal image viewer using raw XLib";
|
|
homepage = "https://www.johnhawthorn.com/meh/";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|