Skip to content

Commit

Permalink
kicadAddons.kikit, kicadAddons.kikit-library: add pname (#359681)
Browse files Browse the repository at this point in the history
* kicadAddons.kikit, kicadAddons.kikit-library: add pname

Co-authored-by: jopejoe1 <[email protected]>
  • Loading branch information
pinpox and jopejoe1 authored Jan 4, 2025
1 parent db09530 commit b16a62c
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions pkgs/applications/science/electronics/kicad/addons/kikit.nix
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 = ''
Expand Down

0 comments on commit b16a62c

Please sign in to comment.