Skip to content

Commit

Permalink
easyroam-connect-desktop: init
Browse files Browse the repository at this point in the history
  • Loading branch information
shadows-withal committed Oct 15, 2024
1 parent 6741e33 commit c3f8110
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 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,62 @@
{
stdenv,
lib,
fetchurl,
autoPatchelfHook,
glib,
gtk3,
pango,
cairo,
harfbuzz,
networkmanager,
libsecret,
}:
stdenv.mkDerivation rec {
pname = "easyroam-connect-desktop";
version = "1.3.2";

src = fetchurl {
url = "http://packages.easyroam.de/repos/easyroam-desktop/pool/main/e/easyroam-desktop/easyroam_connect_desktop-${version}+${version}-linux.deb";
hash = "sha256-XGPSP4yPNHO+Hj/mneDJZVcgb48aOe5TrI0f+MXac/E=";
};

dontConfigure = true;
dontBuild = true;

nativeBuildInputs = [ autoPatchelfHook ];

buildInputs = [
glib
gtk3
pango
cairo
harfbuzz
libsecret
networkmanager
];

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

installPhase = ''
runHook preInstall
mkdir -p $out/share
mv usr/share $out
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 ];
platforms = [ "x86_64-linux" ];
};
}

0 comments on commit c3f8110

Please sign in to comment.