python3Packages.aprslib: migrate to pyproject (#528194)
This commit is contained in:
@@ -4,17 +4,18 @@
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aprslib";
|
||||
version = "0.7.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rossengeorgiev";
|
||||
repo = "aprs-python";
|
||||
rev = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-2bYTnbJ8wF/smTpZ2tV+3ZRae7FpbNBtXoaR2Sc9Pek=";
|
||||
};
|
||||
|
||||
@@ -25,7 +26,9 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
doCheck = false; # mox3 is disabled on python311
|
||||
build-system = [ setuptools ];
|
||||
|
||||
doCheck = false; # mox3 is not packaged
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@@ -34,7 +37,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Module for accessing APRS-IS and parsing APRS packets";
|
||||
homepage = "https://github.com/rossengeorgiev/aprs-python";
|
||||
changelog = "https://github.com/rossengeorgiev/aprs-python/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user