depot/third_party/nixpkgs/pkgs/applications/graphics/xv/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

38 lines
771 B
Nix

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