Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 617 B view raw
1{ buildPythonPackage, fetchFromGitHub, lib, netaddr, six, nose }: 2 3buildPythonPackage rec { 4 pname = "pyrad"; 5 version = "2.3"; 6 7 src = fetchFromGitHub { 8 owner = "pyradius"; 9 repo = pname; 10 rev = version; 11 sha256 = "0hy7999av47s8100afbhxfjb8phbmrqcv530xlvskndby4a8w94k"; 12 }; 13 14 propagatedBuildInputs = [ netaddr six ]; 15 checkInputs = [ nose ]; 16 17 checkPhase = '' 18 nosetests -e testBind 19 ''; 20 21 meta = with lib; { 22 description = "Python RADIUS Implementation"; 23 homepage = "https://bitbucket.org/zzzeek/sqlsoup"; 24 license = licenses.mit; 25 maintainers = [ maintainers.globin ]; 26 }; 27}