mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
ceb969f75b
https://gitlab.gnome.org/World/amtk/-/compare/5.6.0...5.6.1 Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
62 lines
1.2 KiB
Nix
62 lines
1.2 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, gtk3
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, gobject-introspection
|
|
, gtk-doc
|
|
, docbook-xsl-nons
|
|
, gnome
|
|
, dbus
|
|
, xvfb-run
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "amtk";
|
|
version = "5.6.1";
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "1QEVuFyHKqwpaTS17nJqP6FWxvWtltJ+Dt0Kpa0XMig=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
dbus
|
|
gobject-introspection
|
|
gtk-doc
|
|
docbook-xsl-nons
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
];
|
|
|
|
doCheck = stdenv.isLinux;
|
|
checkPhase = ''
|
|
export NO_AT_BRIDGE=1
|
|
${xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
|
meson test --print-errorlogs
|
|
'';
|
|
|
|
passthru.updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "none";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://wiki.gnome.org/Projects/Amtk";
|
|
description = "Actions, Menus and Toolbars Kit for GTK applications";
|
|
maintainers = [ maintainers.manveru ];
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|