nixpkgs/pkgs/applications/graphics/xv/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
771 B
Nix
Raw Normal View History

2023-07-04 04:30:33 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
xorg,
libpng,
libwebp,
libtiff,
libjpeg,
jasper,
}:
stdenv.mkDerivation rec {
pname = "xv";
2023-07-17 03:38:49 +02:00
version = "4.2.0";
2023-07-04 04:30:33 +02:00
src = fetchFromGitHub {
owner = "jasper-software";
repo = "xv";
rev = "v${version}";
2023-07-17 03:38:49 +02:00
sha256 = "TXUcdrwtPNiS7z795RbzBXzNYRADeVtF5uz4aovLo/M=";
2023-07-04 04:30:33 +02:00
};
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 ];
};
}