fix(satosa): Use GH source

This commit is contained in:
Tom Hubrecht 2024-04-08 23:23:25 +02:00
parent 9eb89a03ab
commit 84e5f4a33a

View file

@ -1,7 +1,7 @@
{ {
lib, lib,
python3, python3,
fetchPypi, fetchFromGitHub,
cookies-samesite-compat, cookies-samesite-compat,
pyop, pyop,
}: }:
@ -11,17 +11,13 @@ python3.pkgs.buildPythonPackage rec {
version = "8.4.0"; version = "8.4.0";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchFromGitHub {
pname = "SATOSA"; owner = "IdentityPython";
inherit version; repo = "SATOSA";
hash = "sha256-KREROjb157RJJVRr9YefzoR/eflR/U7ZmG6yOH5DjcU="; rev = "v${version}";
hash = "sha256-q7XmZ3EnAFO1OXIhXIF4Vd0H8uaayFIHFZpWiZUsAFA=";
}; };
nativeBuildInputs = [
python3.pkgs.setuptools
python3.pkgs.wheel
];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
chevron chevron
click click
@ -50,7 +46,7 @@ python3.pkgs.buildPythonPackage rec {
description = "Protocol proxy (SAML/OIDC)"; description = "Protocol proxy (SAML/OIDC)";
homepage = "https://pypi.org/project/SATOSA"; homepage = "https://pypi.org/project/SATOSA";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ thubrecht ];
mainProgram = "satosa"; mainProgram = "satosa";
}; };
} }