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

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

Co-authored-by: jopejoe1 <jopejoe1@missing.ninja>

Changed files
+14 -9
pkgs
applications
science
electronics
kicad
addons
+14 -9
pkgs/applications/science/electronics/kicad/addons/kikit.nix
···
# 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
···
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 = ''