From 84e5f4a33a464ef575ca1b0225367a91c13a0cd7 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 8 Apr 2024 23:23:25 +0200 Subject: [PATCH] fix(satosa): Use GH source --- machines/compute01/satosa/package/satosa.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/machines/compute01/satosa/package/satosa.nix b/machines/compute01/satosa/package/satosa.nix index 22b25b7..4125dc0 100644 --- a/machines/compute01/satosa/package/satosa.nix +++ b/machines/compute01/satosa/package/satosa.nix @@ -1,7 +1,7 @@ { lib, python3, - fetchPypi, + fetchFromGitHub, cookies-samesite-compat, pyop, }: @@ -11,17 +11,13 @@ python3.pkgs.buildPythonPackage rec { version = "8.4.0"; pyproject = true; - src = fetchPypi { - pname = "SATOSA"; - inherit version; - hash = "sha256-KREROjb157RJJVRr9YefzoR/eflR/U7ZmG6yOH5DjcU="; + src = fetchFromGitHub { + owner = "IdentityPython"; + repo = "SATOSA"; + rev = "v${version}"; + hash = "sha256-q7XmZ3EnAFO1OXIhXIF4Vd0H8uaayFIHFZpWiZUsAFA="; }; - nativeBuildInputs = [ - python3.pkgs.setuptools - python3.pkgs.wheel - ]; - propagatedBuildInputs = with python3.pkgs; [ chevron click @@ -50,7 +46,7 @@ python3.pkgs.buildPythonPackage rec { description = "Protocol proxy (SAML/OIDC)"; homepage = "https://pypi.org/project/SATOSA"; license = licenses.asl20; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ thubrecht ]; mainProgram = "satosa"; }; }