File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
development/python-modules/pythonocc-core Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1414 libXi ,
1515 libXmu ,
1616 opencascade-occt ,
17+ numpy ,
1718 rapidjson ,
1819 swig ,
1920} :
2021
2122stdenv . mkDerivation rec {
2223 pname = "pythonocc-core" ;
23- version = "7.6.2 " ;
24+ version = "7.8.1.1 " ;
2425
2526 src = fetchFromGitHub {
2627 owner = "tpaviot" ;
2728 repo = "pythonocc-core" ;
2829 tag = version ;
29- hash = "sha256-45pqPQ07KYlpFwJSAYVHbzuqDQTbAvPpxReal52DCzU =" ;
30+ hash = "sha256-0o2PQEN0/Z7FUPZEo2HxFFa+mN2bZnYI++HVu4ONpNA =" ;
3031 } ;
3132
3233 postPatch = ''
@@ -50,12 +51,14 @@ stdenv.mkDerivation rec {
5051 libXmu
5152 libXi
5253 fontconfig
54+ numpy
5355 rapidjson
5456 ] ++ lib . optionals stdenv . hostPlatform . isDarwin [ Cocoa ] ;
5557
5658 cmakeFlags = [
5759 "-Wno-dev"
5860 "-DPYTHONOCC_INSTALL_DIRECTORY=${ placeholder "out" } /${ python . sitePackages } /OCC"
61+ "-DPYTHONOCC_MESHDS_NUMPY=on"
5962 ] ;
6063
6164 passthru = {
Original file line number Diff line number Diff line change @@ -13633,7 +13633,6 @@ self: super: with self; {
1363313633 inherit (pkgs) fontconfig rapidjson;
1363413634 inherit (pkgs.xorg) libX11 libXi libXmu libXext;
1363513635 inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
13636- opencascade-occt = pkgs.opencascade-occt_7_6;
1363713636 });
1363813637
1363913638 python-olm = callPackage ../development/python-modules/python-olm { };
You can’t perform that action at this time.
0 commit comments