Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 22 lines 527 B view raw
1{stdenv, buildPythonPackage, fetchPypi}: 2 3buildPythonPackage rec { 4 pname = "pyroute2"; 5 version = "0.5.7"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "963fce07da2841456d39e3b932b071f6de28d23dadfae014022d67a752916f98"; 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}