30 lines
528 B
Nix
Executable File
30 lines
528 B
Nix
Executable File
{
|
|
stdenvNoCC,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "gnome-nebula-vpn";
|
|
version = "1.0.0";
|
|
|
|
src = ./extension;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
uuid="nebula-vpn-status@mjallen"
|
|
dest="$out/share/gnome-shell/extensions/$uuid"
|
|
mkdir -p "$dest"
|
|
cp -r . "$dest/"
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "GNOME Shell extension showing Nebula VPN status with interface info and a toggle";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|