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
|
|
@ -0,0 +1,64 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, libxml2
|
||||
, xdg-desktop-portal
|
||||
, gtk3
|
||||
, gnome
|
||||
, gnome-desktop
|
||||
, glib
|
||||
, wrapGAppsHook
|
||||
, gsettings-desktop-schemas
|
||||
, buildPortalsInGnome ? true
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xdg-desktop-portal-gtk";
|
||||
version = "1.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flatpak";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "I9xQgiE3lNb2vRodO5R1y40lqoOKzALskrVePidant4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
libxml2
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
xdg-desktop-portal
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gsettings-desktop-schemas # settings exposed by settings portal
|
||||
gtk3
|
||||
gnome-desktop
|
||||
gnome.gnome-settings-daemon # schemas needed for settings api (mostly useless now that fonts were moved to g-d-s)
|
||||
];
|
||||
|
||||
configureFlags = if buildPortalsInGnome then [
|
||||
"--enable-wallpaper"
|
||||
"--enable-screenshot"
|
||||
"--enable-screencast"
|
||||
"--enable-background"
|
||||
"--enable-settings"
|
||||
"--enable-appchooser"
|
||||
] else [
|
||||
# These are now enabled by default, even though we do not need them for GNOME.
|
||||
# https://github.com/flatpak/xdg-desktop-portal-gtk/issues/355
|
||||
"--disable-settings"
|
||||
"--disable-appchooser"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Desktop integration portals for sandboxed apps";
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl2Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue