Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{
|
|
fetchurl,
|
|
lib,
|
|
stdenv,
|
|
pkg-config,
|
|
gtk2,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gtkimageview";
|
|
version = "1.6.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://sources.archlinux.org/other/packages/${pname}/${pname}-${version}.tar.gz";
|
|
sha256 = "1wj63af9j9p5i067lpwi9lxvwalamakrmklvl983kvi7s4w1ss2c";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ gtk2 ];
|
|
|
|
preConfigure = ''
|
|
sed '/DEPRECATED_FLAGS/d' -i configure
|
|
sed 's/-Wall -Werror//' -i configure
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://gitlab.gnome.org/Archive/gtkimageview";
|
|
|
|
description = "Image viewer widget for GTK";
|
|
|
|
longDescription = ''
|
|
GtkImageView is a simple image viewer widget for GTK. Similar to
|
|
the image viewer panes in gThumb or Eye of Gnome. It makes writing
|
|
image viewing and editing applications easy. Among its features
|
|
are: mouse and keyboard zooming; scrolling and dragging; adjustable
|
|
interpolation; GIF animation support.
|
|
'';
|
|
|
|
license = lib.licenses.lgpl2Plus;
|
|
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|