uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
86
pkgs/development/libraries/at-spi2-core/default.nix
Normal file
86
pkgs/development/libraries/at-spi2-core/default.nix
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, gobject-introspection
|
||||
, gsettings-desktop-schemas
|
||||
, makeWrapper
|
||||
, dbus
|
||||
, glib
|
||||
, dconf
|
||||
, libX11
|
||||
, libXtst
|
||||
, libXi
|
||||
, libXext
|
||||
, gnome
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "at-spi2-core";
|
||||
version = "2.44.1";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "S+sjJwumz3yvILWXNU11GU2Jr7adLvzxX0JxaIum90Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
# at-spi2-core can be build without X support, but due it is a client-side library, GUI-less usage is a very rare case
|
||||
libXtst
|
||||
libXi
|
||||
# libXext is a transitive dependency of libXi
|
||||
libXext
|
||||
];
|
||||
|
||||
# In atspi-2.pc dbus-1 glib-2.0
|
||||
propagatedBuildInputs = [
|
||||
dbus
|
||||
glib
|
||||
];
|
||||
|
||||
# fails with "AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?"
|
||||
doCheck = false;
|
||||
|
||||
mesonFlags = [
|
||||
# Provide dbus-daemon fallback when it is not already running when
|
||||
# at-spi2-bus-launcher is executed. This allows us to avoid
|
||||
# including the entire dbus closure in libraries linked with
|
||||
# the at-spi2-core libraries.
|
||||
"-Ddbus_daemon=/run/current-system/sw/bin/dbus-daemon"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
versionPolicy = "odd-unstable";
|
||||
};
|
||||
};
|
||||
|
||||
postFixup = ''
|
||||
# Cannot use wrapGAppsHook'due to a dependency cycle
|
||||
wrapProgram $out/libexec/at-spi-bus-launcher \
|
||||
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \
|
||||
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/at-spi2-core";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue