9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
45 lines
1001 B
Nix
45 lines
1001 B
Nix
{ stdenv
|
|
, fetchurl
|
|
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
|
|
, at-spi2-core
|
|
, atk
|
|
, dbus
|
|
, glib
|
|
, libxml2
|
|
|
|
, gnome3 # To pass updateScript
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "at-spi2-atk";
|
|
version = "2.38.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "z6AIpa+CKzauYofxgYLEDJHdaZxV+qOGBYge0XXKRk8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
buildInputs = [ at-spi2-core atk dbus glib libxml2 ];
|
|
|
|
doCheck = false; # fails with "No test data file provided"
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "D-Bus bridge for Assistive Technology Service Provider Interface (AT-SPI) and Accessibility Toolkit (ATK)";
|
|
homepage = "https://gitlab.gnome.org/GNOME/at-spi2-atk";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|