python311Packages.pyroute2: 0.7.10 -> 0.7.11
Diff: https://github.com/svinota/pyroute2/compare/refs/tags/0.7.10...0.7.11 Changelog: https://github.com/svinota/pyroute2/blob/0.7.11/CHANGELOG.rst
This commit is contained in:
parent
9b19f5e77d
commit
87e55e6763
1 changed files with 10 additions and 11 deletions
|
@ -1,31 +1,30 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, importlib-metadata
|
||||
, mitogen
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyroute2";
|
||||
version = "0.7.10";
|
||||
format = "pyproject";
|
||||
version = "0.7.11";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-zC+QqtFRfLCzAQQfZ4zI08NCfCblPxXHjJPGeSjYmgI=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "svinota";
|
||||
repo = "pyroute2";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-rX/aUmL9H4dSoRngxVVX1olfGtxK93g76E6Z0CYNr2M=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mitogen
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
|
@ -49,7 +48,7 @@ buildPythonPackage rec {
|
|||
description = "Python Netlink library";
|
||||
homepage = "https://github.com/svinota/pyroute2";
|
||||
changelog = "https://github.com/svinota/pyroute2/blob/${version}/CHANGELOG.rst";
|
||||
license = licenses.asl20;
|
||||
license = with licenses; [ asl20 /* or */ gpl2Plus ];
|
||||
maintainers = with maintainers; [ fab mic92 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue