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