mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
2641d97cbf
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
76 lines
1.1 KiB
Nix
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;
|
|
};
|
|
}
|