mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
Merge pull request #280696 from fabaff/pyroute2-bump
python311Packages.pyroute2: 0.7.10 -> 0.7.11
This commit is contained in:
commit
1a90c21cdb
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