39 lines
771 B
Nix
39 lines
771 B
Nix
|
{
|
||
|
lib,
|
||
|
stdenv,
|
||
|
fetchFromGitHub,
|
||
|
cmake,
|
||
|
xorg,
|
||
|
libpng,
|
||
|
libwebp,
|
||
|
libtiff,
|
||
|
libjpeg,
|
||
|
jasper,
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "xv";
|
||
|
version = "4.1.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "jasper-software";
|
||
|
repo = "xv";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "vwSUKWr4Hffx04ATUI58m7UOS/lVTnIVDC3ZTWRwJMM=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ cmake ];
|
||
|
buildInputs = [ xorg.libX11 xorg.libXt libpng libwebp libtiff jasper ];
|
||
|
|
||
|
meta = {
|
||
|
description = "Classic image viewer and editor for X.";
|
||
|
homepage = "http://www.trilon.com/xv/";
|
||
|
license = {
|
||
|
fullName = "XV License";
|
||
|
url = "https://github.com/jasper-software/xv/blob/main/src/README";
|
||
|
free = false;
|
||
|
};
|
||
|
maintainers = with lib.maintainers; [ galen ];
|
||
|
};
|
||
|
}
|