mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
mavproxy: migrate to finalAttrs
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "MAVProxy";
|
||||
version = "1.8.74";
|
||||
pyproject = true;
|
||||
@@ -15,7 +15,7 @@ python3Packages.buildPythonApplication rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "ArduPilot";
|
||||
repo = "MAVProxy";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-1/bp3vlCXt4Hg36zwMKSzPSxW7xlxpfx2o+2uQixdos=";
|
||||
};
|
||||
|
||||
@@ -57,9 +57,9 @@ python3Packages.buildPythonApplication rec {
|
||||
meta = {
|
||||
description = "MAVLink proxy and command line ground station";
|
||||
homepage = "https://github.com/ArduPilot/MAVProxy";
|
||||
changelog = "https://github.com/ArduPilot/MAVProxy/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/ArduPilot/MAVProxy/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ lopsided98 ];
|
||||
mainProgram = "mavproxy.py";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user