mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
e45a6e8381
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/amtk/versions
41 lines
1.0 KiB
Nix
41 lines
1.0 KiB
Nix
{ stdenv, fetchurl, gtk3
|
|
, pkgconfig, gnome3, dbus, xvfb_run }:
|
|
let
|
|
version = "5.0.1";
|
|
pname = "amtk";
|
|
in stdenv.mkDerivation {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "09yy95w1s83c43mh9vha1jbb780yighf5pd2j0ygjmc68sjg871d";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
dbus
|
|
];
|
|
|
|
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.daemon}/share/dbus-1/session.conf \
|
|
make check
|
|
'';
|
|
|
|
passthru.updateScript = gnome3.updateScript { packageName = pname; };
|
|
|
|
meta = with stdenv.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;
|
|
};
|
|
}
|