Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 22 lines 527 B view raw
1{stdenv, buildPythonPackage, fetchPypi}: 2 3buildPythonPackage rec { 4 pname = "pyroute2"; 5 version = "0.5.6"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "deae0e6191a04c3ee213c6fae6ed779602ef5da5ca5e2fa533f27bc04326bfbe"; 10 }; 11 12 # requires root priviledges 13 doCheck = false; 14 15 meta = with stdenv.lib; { 16 description = "Python Netlink library"; 17 homepage = https://github.com/svinota/pyroute2; 18 license = licenses.asl20; 19 maintainers = [maintainers.mic92]; 20 platforms = platforms.unix; 21 }; 22}