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
89
pkgs/tools/networking/networkmanager/applet/default.nix
Normal file
89
pkgs/tools/networking/networkmanager/applet/default.nix
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, meson
|
||||
, ninja
|
||||
, gettext
|
||||
, pkg-config
|
||||
, networkmanager
|
||||
, gnome
|
||||
, libnotify
|
||||
, libsecret
|
||||
, polkit
|
||||
, modemmanager
|
||||
, libnma
|
||||
, glib-networking
|
||||
, gsettings-desktop-schemas
|
||||
, libgudev
|
||||
, jansson
|
||||
, wrapGAppsHook
|
||||
, gobject-introspection
|
||||
, python3
|
||||
, gtk3
|
||||
, libappindicator-gtk3
|
||||
, glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "network-manager-applet";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-aWEbKQZK29Vzlf4+Uanr3h6nlGFfd2kARTorvj2M3f0=";
|
||||
};
|
||||
|
||||
mesonFlags = [
|
||||
"-Dselinux=false"
|
||||
"-Dappindicator=yes"
|
||||
];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
buildInputs = [
|
||||
libnma
|
||||
gtk3
|
||||
networkmanager
|
||||
libnotify
|
||||
libsecret
|
||||
gsettings-desktop-schemas
|
||||
polkit
|
||||
libgudev
|
||||
modemmanager
|
||||
jansson
|
||||
glib
|
||||
glib-networking
|
||||
libappindicator-gtk3
|
||||
gnome.adwaita-icon-theme
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
gettext
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
gobject-introspection
|
||||
python3
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x meson_post_install.py # patchShebangs requires executable file
|
||||
patchShebangs meson_post_install.py
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
attrPath = "networkmanagerapplet";
|
||||
versionPolicy = "odd-unstable";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.gnome.org/GNOME/network-manager-applet/";
|
||||
description = "NetworkManager control applet for GNOME";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue