nixpkgs/pkgs/development/python-modules/pyrad/default.nix
Clément 8e48501956
python3Packages.pyrad: 2.4-2023-06-13 -> 2.4-2024-07-24
Update pyrad to latest commit (4 month old) as they cleaned up pyproject
to remove support for old python version and remove problematic
dependencies (netaddr 0.8)
2024-11-12 14:11:31 +01:00

34 lines
716 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
unittestCheckHook,
poetry-core,
}:
buildPythonPackage rec {
pname = "pyrad";
version = "2.4-unstable-2024-07-24";
pyproject = true;
src = fetchFromGitHub {
owner = "pyradius";
repo = pname;
rev = "f42a57cb0e80de42949810057d36df7c4a6b5146";
hash = "sha256-5SPVeBL1oMZ/XXgKch2Hbk6BRU24HlVl4oXZ2agF1h8=";
};
nativeBuildInputs = [ poetry-core ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "pyrad" ];
meta = {
description = "Python RADIUS Implementation";
homepage = "https://github.com/pyradius/pyrad";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ drawbu ];
};
}