nixpkgs/pkgs/by-name/xv/xviewer/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

76 lines
1.1 KiB
Nix

{ stdenv
, lib
, fetchFromGitHub
, docbook_xsl
, exempi
, gdk-pixbuf
, glib
, gobject-introspection
, gtk3
, gtk-doc
, itstool
, lcms2
, libexif
, libjpeg
, libpeas
, librsvg
, libxml2
, meson
, ninja
, pkg-config
, python3
, wrapGAppsHook3
, cinnamon-desktop
, yelp-tools
, xapp
}:
stdenv.mkDerivation rec {
pname = "xviewer";
version = "3.4.6";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-J1IlgHKyNGJTn1sIU3q02eTgWqyeRm2leFIhtKPIdhg=";
};
nativeBuildInputs = [
docbook_xsl
gobject-introspection
gtk-doc
itstool
meson
ninja
pkg-config
python3
wrapGAppsHook3
yelp-tools
];
buildInputs = [
cinnamon-desktop
exempi
gdk-pixbuf
glib
gtk3
lcms2
libexif
libjpeg
libpeas
librsvg
libxml2
xapp
];
meta = with lib; {
description = "Generic image viewer from Linux Mint";
mainProgram = "xviewer";
homepage = "https://github.com/linuxmint/xviewer";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ tu-maurice ] ++ teams.cinnamon.members;
};
}