xv: init at 4.1.1

This commit is contained in:
Galen Huntington 2023-07-03 19:30:33 -07:00
parent f979f99b32
commit 4dd813ffa0
No known key found for this signature in database
GPG Key ID: 54F400D0A213C892
3 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,38 @@
{
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 ];
};
}

View File

@ -1847,7 +1847,6 @@ mapAliases ({
); # Added 2022-08-02
xpraGtk3 = throw "'xpraGtk3' has been renamed to/replaced by 'xpra'"; # Converted to throw 2022-02-22
xtrt = throw "xtrt has been removed due to being abandoned"; # Added 2023-05-25
xv = xxv; # Added 2020-02-22
xvidcap = throw "'xvidcap' has been removed because of a broken dependency"; # Added 2022-11-08
xvfb_run = xvfb-run; # Added 2021-05-07

View File

@ -36094,6 +36094,8 @@ with pkgs;
xnotify = callPackage ../tools/X11/xnotify { };
xv = callPackage ../applications/graphics/xv { };
xygrib = libsForQt5.callPackage ../applications/misc/xygrib { };
xzgv = callPackage ../applications/graphics/xzgv { };