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:
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 = ''
|
||||
|
||||
Reference in New Issue
Block a user