mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 09:03:48 +00:00
23 lines
527 B
Nix
23 lines
527 B
Nix
{stdenv, buildPythonPackage, fetchPypi}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyroute2";
|
|
version = "0.5.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ad679a91d453fe8426c4076d0da3a67265e5ccfe641879d75c9bc7660d075dfa";
|
|
};
|
|
|
|
# requires root priviledges
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python Netlink library";
|
|
homepage = https://github.com/svinota/pyroute2;
|
|
license = licenses.asl20;
|
|
maintainers = [maintainers.mic92];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|