kicadAddons.kikit, kicadAddons.kikit-library: add pname (#359681)

* kicadAddons.kikit, kicadAddons.kikit-library: add pname

Co-authored-by: jopejoe1 <jopejoe1@missing.ninja>
This commit is contained in:
Pablo Ovelleiro Corral
2025-01-04 01:12:58 +01:00
committed by GitHub
co-authored by jopejoe1
parent db09530e76
commit b16a62cd60
@@ -1,11 +1,12 @@
# For building the multiple addons that are in the kikit repo.
{ stdenv
, bc
, kikit
, zip
, python3
, addonName
, addonPath
{
stdenv,
bc,
kikit,
zip,
python3,
addonName,
addonPath,
}:
let
# This python is only used when building the package, it's not the python
@@ -30,10 +31,14 @@ let
targetSpec = targetSpecs.${addonName};
in
stdenv.mkDerivation {
name = "kicadaddon-${addonName}";
pname = "kicadaddon-${addonName}";
inherit (kikit-module) src version;
nativeBuildInputs = [ python bc zip ];
nativeBuildInputs = [
python
bc
zip
];
propagatedBuildInputs = [ kikit-module ];
buildPhase = ''