depot/third_party/nixpkgs/pkgs/applications/graphics/xv/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

37 lines
766 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
xorg,
libpng,
libwebp,
libtiff,
jasper,
}:
stdenv.mkDerivation rec {
pname = "xv";
version = "5.0.0";
src = fetchFromGitHub {
owner = "jasper-software";
repo = "xv";
rev = "v${version}";
sha256 = "sha256-ATV/LxXQNJB6rjBmurx6a1gRPR8zNuILstvEJoQJhUs=";
};
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 ];
};
}