Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.3 KiB
Nix

{
lib,
fetchFromGitea,
gdk-pixbuf,
gobject-introspection,
gtk3,
libnotify,
libsecret,
networkmanager,
python3Packages,
wrapGAppsHook3,
}:
python3Packages.buildPythonApplication rec {
pname = "eduvpn-client";
version = "4.5.1";
format = "pyproject";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "eduVPN";
repo = "linux-app";
rev = version;
hash = "sha256-lDmPDM3BEiZ97m8jEtYrpmVrk0D7x01iKxOe/09T0zY=";
};
nativeBuildInputs = [
gdk-pixbuf
gobject-introspection
wrapGAppsHook3
];
buildInputs = [
gtk3
libnotify
libsecret
networkmanager
];
propagatedBuildInputs = with python3Packages; [
eduvpn-common
pygobject3
setuptools
];
postInstall = ''
ln -s $out/${python3Packages.python.sitePackages}/eduvpn/data/share/ $out/share
'';
checkInputs = with python3Packages; [
pytestCheckHook
];
meta = {
changelog = "https://codeberg.org/eduVPN/linux-app/raw/tag/${version}/CHANGES.md";
description = "Linux client for eduVPN";
homepage = "https://codeberg.org/eduVPN/linux-app";
license = lib.licenses.gpl3Plus;
mainProgram = "eduvpn-gui";
maintainers = with lib.maintainers; [
benneti
jwijenbergh
];
platforms = lib.platforms.linux;
};
}