Skip to content

Commit

Permalink
python312Packages.pyroute2: 0.7.12 -> 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Dec 23, 2024
1 parent 19123f4 commit f6dd213
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions pkgs/development/python-modules/pyroute2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,25 @@
lib,
buildPythonPackage,
fetchFromGitHub,
importlib-metadata,
pythonOlder,
setuptools,
}:

buildPythonPackage rec {
pname = "pyroute2";
version = "0.7.12";
version = "0.8.1";
pyproject = true;

disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";

src = fetchFromGitHub {
owner = "svinota";
repo = "pyroute2";
rev = "refs/tags/${version}";
hash = "sha256-zB792ZwDWd74YBYvQ5au0t2RWTIAqrWvNtQ/e+ZEk50=";
hash = "sha256-eItzD9ub8COaOkNLEKLtf8uJil4W4rqjzVa95LJahHw=";
};

nativeBuildInputs = [ setuptools ];

propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
build-system = [ setuptools ];

# Requires root privileges, https://github.com/svinota/pyroute2/issues/778
doCheck = false;
Expand Down

0 comments on commit f6dd213

Please sign in to comment.