python3Packages.atopile-easyeda2kicad: use finalAttrs
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
truststore,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "atopile-easyeda2kicad";
|
||||
version = "0.9.7";
|
||||
pyproject = true;
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "atopile";
|
||||
repo = "easyeda2kicad.py";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-l5ecNNu9vu073aK85F+tOSodEHk2wso95RYXk9DyTFo=";
|
||||
};
|
||||
|
||||
@@ -43,9 +43,9 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Convert any LCSC components (including EasyEDA) to KiCad library";
|
||||
homepage = "https://github.com/atopile/easyeda2kicad.py";
|
||||
changelog = "https://github.com/atopile/easyeda2kicad.py/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/atopile/easyeda2kicad.py/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [ sigmanificient ];
|
||||
mainProgram = "easyeda2kicad";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user