python.pkgs.pyrad: init at 2.3

This commit is contained in:
Robin Gloster 2020-04-13 23:59:37 +02:00
parent cb62bf4979
commit 7a68da69ba
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ buildPythonPackage, fetchFromGitHub, lib, netaddr, six, nose }:
buildPythonPackage rec {
pname = "pyrad";
version = "2.3";
src = fetchFromGitHub {
owner = "pyradius";
repo = pname;
rev = version;
sha256 = "0hy7999av47s8100afbhxfjb8phbmrqcv530xlvskndby4a8w94k";
};
propagatedBuildInputs = [ netaddr six ];
checkInputs = [ nose ];
checkPhase = ''
nosetests -e testBind
'';
meta = with lib; {
description = "Python RADIUS Implementation";
homepage = "https://bitbucket.org/zzzeek/sqlsoup";
license = licenses.mit;
maintainers = [ maintainers.globin ];
};
}

View File

@ -5180,6 +5180,8 @@ in {
pyrabbit2 = callPackage ../development/python-modules/pyrabbit2 { };
pyrad = callPackage ../development/python-modules/pyrad { };
pyrr = callPackage ../development/python-modules/pyrr { };
pysha3 = callPackage ../development/python-modules/pysha3 { };