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

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

38 lines
766 B
Nix
Raw Normal View History

2023-07-04 02:30:33 +00:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
xorg,
libpng,
libwebp,
libtiff,
jasper,
}:
stdenv.mkDerivation rec {
pname = "xv";
2024-02-07 17:23:15 +00:00
version = "5.0.0";
2023-07-04 02:30:33 +00:00
src = fetchFromGitHub {
owner = "jasper-software";
repo = "xv";
rev = "v${version}";
2024-02-07 17:23:15 +00:00
sha256 = "sha256-ATV/LxXQNJB6rjBmurx6a1gRPR8zNuILstvEJoQJhUs=";
2023-07-04 02:30:33 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ xorg.libX11 xorg.libXt libpng libwebp libtiff jasper ];
meta = {
2024-02-07 17:23:15 +00:00
description = "Classic image viewer and editor for X";
2023-07-04 02:30:33 +00:00
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 ];
};
}