Skip to content

Commit

Permalink
easyroam-connect-desktop: init at 1.3.5 (NixOS#348785)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst authored Dec 14, 2024
2 parents a4ba695 + 606b3a8 commit e83dcc5
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 0 deletions.
12 changes: 12 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13662,6 +13662,12 @@
githubId = 34819524;
name = "Marcel";
};
MarchCraft = {
email = "[email protected]";
github = "MarchCraft";
githubId = 30194994;
name = "Felix Nilles";
};
marcovergueira = {
email = "[email protected]";
github = "marcovergueira";
Expand Down Expand Up @@ -20424,6 +20430,12 @@
name = "夜坂雅";
keys = [ { fingerprint = "3237 D49E 8F81 5A45 2133 64EA 4FF3 5790 F405 53A9"; } ];
};
shadows_withal = {
email = "[email protected]";
github = "shadows-withal";
githubId = 6445316;
name = "liv";
};
shahrukh330 = {
email = "[email protected]";
github = "shahrukh330";
Expand Down
78 changes: 78 additions & 0 deletions pkgs/by-name/ea/easyroam-connect-desktop/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
stdenv,
lib,
fetchurl,
autoPatchelfHook,
glib,
gtk3,
pango,
cairo,
harfbuzz,
networkmanager,
libsecret,
libsoup_3,
webkitgtk_4_1,
glib-networking,
wrapGAppsHook3,
}:
stdenv.mkDerivation rec {
pname = "easyroam-connect-desktop";
version = "1.3.5";

src = fetchurl {
url = "http://packages.easyroam.de/repos/easyroam-desktop/pool/main/e/easyroam-desktop/easyroam_connect_desktop-${version}+${version}-linux.deb";
hash = "sha256-TRzEPPjsD1+eSuElvbTV4HJFfwfS+EH+r/OhdMP8KG0=";
};

dontConfigure = true;
dontBuild = true;

nativeBuildInputs = [
autoPatchelfHook
wrapGAppsHook3
];

buildInputs = [
glib
gtk3
pango
cairo
harfbuzz
libsecret
networkmanager
webkitgtk_4_1
libsoup_3
glib-networking
];

unpackPhase = ''
ar p $src data.tar.xz | tar xJ
'';

installPhase = ''
runHook preInstall
mkdir -p $out
cp -r usr/share $out/share
mkdir -p $out/bin
ln -s $out/share/easyroam_connect_desktop/easyroam_connect_desktop $out/bin/easyroam_connect_desktop
runHook postInstall
'';

meta = with lib; {
description = "Manage and install your easyroam WiFi profiles";
mainProgram = "easyroam_connect_desktop";
longDescription = ''
Using this software you can easily connect your device to eduroam® by simply logging in with your DFN-AAI account.
'';
homepage = "https://easyroam.de";
license = licenses.unfree;
maintainers = with maintainers; [
shadows_withal
MarchCraft
];
platforms = [ "x86_64-linux" ];
};
}

0 comments on commit e83dcc5

Please sign in to comment.