Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

71 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
meson,
ninja,
pkg-config,
replaceVars,
vala,
libadwaita,
libgee,
gettext,
granite7,
gtk4,
networkmanager,
networkmanagerapplet,
libnma-gtk4,
switchboard,
}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-network";
version = "8.2.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "switchboard-plug-network";
rev = version;
hash = "sha256-H43mRPEujs6A4Bk2uC3mP91Hp5I8gojaagoXUT/5eW8=";
};
patches = [
(replaceVars ./fix-paths.patch {
inherit networkmanagerapplet;
})
];
nativeBuildInputs = [
gettext
meson
ninja
pkg-config
vala
];
buildInputs = [
granite7
gtk4
libadwaita
libgee
networkmanager
libnma-gtk4
switchboard
];
strictDeps = true;
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Switchboard Networking Plug";
homepage = "https://github.com/elementary/switchboard-plug-network";
license = licenses.gpl3Plus;
platforms = platforms.linux;
teams = [ teams.pantheon ];
};
}