-
-
Notifications
You must be signed in to change notification settings - Fork 14k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6741e33
commit c3f8110
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ]; | ||
}; | ||
} |