pythonPackages.kicad: bindings to kicad
Add the Python bindings for kicad. Following now functions $ nix run "(import ./. {}).python3.withPackages(ps: with ps; [ kicad ])" -c python3 -c "import pcbnew" Have not tested this any further.
This commit is contained in:
parent
30583847f1
commit
bc3c3b4a59
@ -8,7 +8,7 @@
|
||||
, oceSupport ? false, opencascade
|
||||
, withOCCT ? true, opencascade-occt
|
||||
, ngspiceSupport ? true, libngspice
|
||||
, scriptingSupport ? true, swig, python, pythonPackages, wxPython
|
||||
, scriptingSupport ? true, swig, python, wxPython
|
||||
, debug ? false, valgrind
|
||||
, withI18n ? true
|
||||
}:
|
||||
|
@ -8,7 +8,7 @@
|
||||
, oceSupport ? false, opencascade
|
||||
, withOCCT ? true, opencascade-occt
|
||||
, ngspiceSupport ? true, libngspice
|
||||
, scriptingSupport ? true, swig, python3, python3Packages
|
||||
, scriptingSupport ? true, swig, python3
|
||||
, debug ? false, valgrind
|
||||
, with3d ? true
|
||||
, withI18n ? true
|
||||
@ -31,9 +31,9 @@ let
|
||||
# but brings high DPI support?
|
||||
else wxGTK31.override { withGtk2 = false; };
|
||||
|
||||
pythonPackages = python3Packages;
|
||||
pythonPackages = python.pkgs;
|
||||
python = python3;
|
||||
wxPython = python3Packages.wxPython_4_0;
|
||||
wxPython = pythonPackages.wxPython_4_0;
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -3036,6 +3036,10 @@ in {
|
||||
|
||||
jsonwatch = callPackage ../development/python-modules/jsonwatch { };
|
||||
|
||||
kicad = disabledIf isPy27 (toPythonModule (pkgs.kicad.override {
|
||||
python3 = python;
|
||||
}).src);
|
||||
|
||||
latexcodec = callPackage ../development/python-modules/latexcodec {};
|
||||
|
||||
libmodulemd = pipe pkgs.libmodulemd [
|
||||
|
Loading…
Reference in New Issue
Block a user