anchor.diff:      pyroute2-ndb
       pyroute2-nftables
       pyroute2-nslink
  +  ] ++ lib.optionals (pythonOlder "3.8") [
  +    importlib-metadata
     ];
   
     # Requires root privileges, https://github.com/svinota/pyroute2/issues/778
     doCheck = false;
   
  -  pythonImportsCheck = [ "pyroute2" ];
  +  pythonImportsCheck = [
  +    "pyroute2"
  +  ];
   
     meta = with lib; {
       description = "Python Netlink library";
       homepage = "https://github.com/svinota/pyroute2";
       license = licenses.asl20;
  -    maintainers = with maintainers; [ mic92 ];
  +    maintainers = with maintainers; [ fab mic92 ];
       platforms = platforms.unix;
     };
   }
  
positive.code: { lib
  , buildPythonPackage
  , fetchPypi
  , mitogen
  , pyroute2-core
  , pyroute2-ethtool
  
negative.code: , pyroute2-ndb
  , pyroute2-nftables
  , pyroute2-nslink
  , pythonOlder
  }:
  
  buildPythonPackage rec {
    pname = "pyroute2";
    version = "0.6.7";
    format = "setuptools";
  
    disabled = pythonOlder "3.7";
  
    src = fetchPypi {
      inherit pname version;
      hash = "sha256-qBv9jshyg0S9IThdrXHTFcb2neQPDmURmtSbqYCKlWo=";
    };
  
    propagatedBuildInputs = [
  