From b47ddc76b0e88fe437285f84e04c397cfc0437f0 Mon Sep 17 00:00:00 2001 From: Ryan Lahfa Date: Wed, 14 Feb 2024 01:13:02 +0100 Subject: [PATCH] pkgs: init switchwayf Signed-off-by: Ryan Lahfa --- pkgs/switchwayf.nix | 26 ++++++++++++++++++++++++++ profiles/switchwayf.nix | 0 2 files changed, 26 insertions(+) create mode 100644 pkgs/switchwayf.nix create mode 100644 profiles/switchwayf.nix diff --git a/pkgs/switchwayf.nix b/pkgs/switchwayf.nix new file mode 100644 index 0000000..6130b28 --- /dev/null +++ b/pkgs/switchwayf.nix @@ -0,0 +1,26 @@ +{ lib +, stdenv +, fetchFromGitLab +}: + +stdenv.mkDerivation rec { + pname = "switch-wayf"; + version = "2.0"; + + src = fetchFromGitLab { + domain = "gitlab.switch.ch"; + owner = "aai"; + repo = "SWITCHwayf"; + rev = "v${version}"; + hash = "sha256-SqJzkV7dJXPUrY/9pz54VYxd8eAv+aFDik9F3N4WBIg="; + }; + + meta = with lib; { + description = "SAML Identity Provider Discovery Service implementation developed by SWITCH"; + homepage = "https://gitlab.switch.ch/aai/SWITCHwayf"; + changelog = "https://gitlab.switch.ch/aai/SWITCHwayf/-/blob/${src.rev}/CHANGES.md"; + license = licenses.asl20; + maintainers = with maintainers; [ raitobezarius ]; + platforms = platforms.all; + }; +} diff --git a/profiles/switchwayf.nix b/profiles/switchwayf.nix new file mode 100644 index 0000000..e69de29