diff options
Diffstat (limited to 'pkgs/applications/graphics/xv/default.nix')
-rw-r--r-- | pkgs/applications/graphics/xv/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/xv/default.nix b/pkgs/applications/graphics/xv/default.nix new file mode 100644 index 0000000000000..b70c96ea8d39e --- /dev/null +++ b/pkgs/applications/graphics/xv/default.nix @@ -0,0 +1,38 @@ +{ + 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 ]; + }; +} |