python310Packages.aiodiscover: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-03-05 15:35:05 +01:00 committed by GitHub
parent eadfa0886a
commit da59030939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
rev = "v${version}";
sha256 = "sha256-AZ6AqobhgMRCrCqtTuCfJjmKZjFlyIIxPqMtHHH9aBA=";
rev = "refs/tags/v${version}";
hash = "sha256-AZ6AqobhgMRCrCqtTuCfJjmKZjFlyIIxPqMtHHH9aBA=";
};
propagatedBuildInputs = [
@ -35,8 +35,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace '"pytest-runner>=5.2",' "" \
--replace "pyroute2>=0.5.18,!=0.6.1" "pyroute2"
--replace '"pytest-runner>=5.2",' ""
'';
nativeCheckInputs = [
@ -56,6 +55,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module to discover hosts via ARP and PTR lookup";
homepage = "https://github.com/bdraco/aiodiscover";
changelog = "https://github.com/bdraco/aiodiscover/releases/tag/v${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};