Unverified Commit b16a62cd authored by Pablo Ovelleiro Corral's avatar Pablo Ovelleiro Corral Committed by GitHub
Browse files

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



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

Co-authored-by: default avatarjopejoe1 <jopejoe1@missing.ninja>
parent db09530e
Loading
Loading
Loading
Loading
+14 −9
Original line number Diff line number Diff line
# 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 = ''