From f45b52f30f082f40bef75e18a9e17dec93657f47 Mon Sep 17 00:00:00 2001 From: liv Date: Tue, 15 Oct 2024 14:45:00 +0200 Subject: [PATCH 1/2] maintainers: add shadows_withal and MarchCraft --- maintainers/maintainer-list.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 5b2f39708c7e..c428843b7308 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12980,6 +12980,12 @@ githubId = 34819524; name = "Marcel"; }; + MarchCraft = { + email = "felix@dienilles.de"; + github = "MarchCraft"; + githubId = 30194994; + name = "Felix Nilles"; + }; marcovergueira = { email = "vergueira.marco@gmail.com"; github = "marcovergueira"; @@ -19433,6 +19439,12 @@ githubId = 23130178; name = "夜坂雅"; }; + shadows_withal = { + email = "shadows@with.al"; + github = "shadows-withal"; + githubId = 6445316; + name = "liv"; + }; shahrukh330 = { email = "shahrukh330@gmail.com"; github = "shahrukh330"; From 606b3a8c1d11b8e3d29a548736baf3cbc4166683 Mon Sep 17 00:00:00 2001 From: liv Date: Tue, 15 Oct 2024 14:44:54 +0200 Subject: [PATCH 2/2] easyroam-connect-desktop: init --- .../ea/easyroam-connect-desktop/package.nix | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 pkgs/by-name/ea/easyroam-connect-desktop/package.nix diff --git a/pkgs/by-name/ea/easyroam-connect-desktop/package.nix b/pkgs/by-name/ea/easyroam-connect-desktop/package.nix new file mode 100644 index 000000000000..3befba9a5211 --- /dev/null +++ b/pkgs/by-name/ea/easyroam-connect-desktop/package.nix @@ -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" ]; + }; +}