1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 18:46:32 +03:00
nixpkgs/pkgs/development/python-modules/pyroute2/default.nix

28 lines
606 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
}:
2016-12-24 00:53:15 +01:00
buildPythonPackage rec {
pname = "pyroute2";
version = "0.5.18";
2016-12-24 00:53:15 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-CKxAytUsC7Lg8gCHUgWZqpH8zgsiHdJukEIzBCiBC8U=";
2016-12-24 00:53:15 +01:00
};
# Requires root privileges, https://github.com/svinota/pyroute2/issues/778
2016-12-24 00:53:15 +01:00
doCheck = false;
pythonImportsCheck = [ "pyroute2" ];
meta = with lib; {
2016-12-24 00:53:15 +01:00
description = "Python Netlink library";
homepage = "https://github.com/svinota/pyroute2";
2016-12-24 00:53:15 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ mic92 ];
platforms = platforms.unix;
2016-12-24 00:53:15 +01:00
};
}