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