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"; }; }