infrastructure/machines/nixos/compute01/satosa/package/pyop.nix
Tom Hubrecht ecbad0a638
chore: Abstract machines and modules
This adds subdirectories for the different types of systems, for the
modules and the machines
2024-12-08 13:39:10 +01:00

36 lines
665 B
Nix

{
lib,
python3,
fetchPypi,
oic,
}:
python3.pkgs.buildPythonPackage rec {
pname = "pyop";
version = "3.4.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-4Iq+TVNH7Pq1Q/Xkdeg8FTqLIjGF673qq0AV/4TjkvE=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
wheel
];
propagatedBuildInputs = with python3.pkgs; [
oic
pycryptodomex
];
pythonImportsCheck = [ "pyop" ];
meta = with lib; {
description = "OpenID Connect Provider (OP) library in Python";
homepage = "https://pypi.org/project/pyop";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}