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