pythonPackages.cadquery: wrap pythonocc-core-cadquery with toPythonModule

Otherwise it won't be kept track of with the Python infra.
This commit is contained in:
Frederik Rietdijk 2021-03-13 12:53:06 +01:00
parent c881760d41
commit e131f22f50

View File

@ -1,5 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, toPythonModule
, isPy3k , isPy3k
, pythonOlder , pythonOlder
, pythonAtLeast , pythonAtLeast
@ -23,7 +24,7 @@
}: }:
let let
pythonocc-core-cadquery = stdenv.mkDerivation { pythonocc-core-cadquery = toPythonModule (stdenv.mkDerivation {
pname = "pythonocc-core-cadquery"; pname = "pythonocc-core-cadquery";
version = "0.18.2"; version = "0.18.2";
@ -61,7 +62,7 @@ let
"-DSMESH_LIB_PATH=${smesh}/lib" "-DSMESH_LIB_PATH=${smesh}/lib"
"-DPYTHONOCC_WRAP_SMESH=TRUE" "-DPYTHONOCC_WRAP_SMESH=TRUE"
]; ];
}; });
in in
buildPythonPackage rec { buildPythonPackage rec {