Skip to content

Commit

Permalink
FromCabal.Name: add missing opencascade-occt library names
Browse files Browse the repository at this point in the history
The OpenCascade OCCT library is distributed as multiple "toolkits", which in practice are separate link libraries.
In nix-packages, these are all bundled under opencascade-occt.
  • Loading branch information
joe-warren committed Nov 4, 2024
1 parent b8eb82f commit 508bb00
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,73 @@ libNixName "yaml" = return "libyaml"
libNixName "yaml-0.1" = return "libyaml"
libNixName "z" = return "zlib"
libNixName "zmq" = return "zeromq"
libNixName "TKBO" = return "opencascade-occt"
libNixName "TKBRep" = return "opencascade-occt"
libNixName "TKBin" = return "opencascade-occt"
libNixName "TKBinL" = return "opencascade-occt"
libNixName "TKBinTObj" = return "opencascade-occt"
libNixName "TKBinXCAF" = return "opencascade-occt"
libNixName "TKBool" = return "opencascade-occt"
libNixName "TKCAF" = return "opencascade-occt"
libNixName "TKCDF" = return "opencascade-occt"
libNixName "TKDCAF" = return "opencascade-occt"
libNixName "TKDE" = return "opencascade-occt"
libNixName "TKDECascade" = return "opencascade-occt"
libNixName "TKDEGLTF" = return "opencascade-occt"
libNixName "TKDEIGES" = return "opencascade-occt"
libNixName "TKDEOBJ" = return "opencascade-occt"
libNixName "TKDEPLY" = return "opencascade-occt"
libNixName "TKDESTEP" = return "opencascade-occt"
libNixName "TKDESTL" = return "opencascade-occt"
libNixName "TKDEVRML" = return "opencascade-occt"
libNixName "TKDraw" = return "opencascade-occt"
libNixName "TKExpress" = return "opencascade-occt"
libNixName "TKFeat" = return "opencascade-occt"
libNixName "TKFillet" = return "opencascade-occt"
libNixName "TKG2d" = return "opencascade-occt"
libNixName "TKG3d" = return "opencascade-occt"
libNixName "TKGeomAlgo" = return "opencascade-occt"
libNixName "TKGeomBase" = return "opencascade-occt"
libNixName "TKHLR" = return "opencascade-occt"
libNixName "TKLCAF" = return "opencascade-occt"
libNixName "TKMath" = return "opencascade-occt"
libNixName "TKMesh" = return "opencascade-occt"
libNixName "TKMeshVS" = return "opencascade-occt"
libNixName "TKOffset" = return "opencascade-occt"
libNixName "TKOpenGl" = return "opencascade-occt"
libNixName "TKOpenGlTest" = return "opencascade-occt"
libNixName "TKPrim" = return "opencascade-occt"
libNixName "TKQADraw" = return "opencascade-occt"
libNixName "TKRWMesh" = return "opencascade-occt"
libNixName "TKService" = return "opencascade-occt"
libNixName "TKShHealing" = return "opencascade-occt"
libNixName "TKStd" = return "opencascade-occt"
libNixName "TKStdL" = return "opencascade-occt"
libNixName "TKTObj" = return "opencascade-occt"
libNixName "TKTObjDRAW" = return "opencascade-occt"
libNixName "TKTopAlgo" = return "opencascade-occt"
libNixName "TKTopTest" = return "opencascade-occt"
libNixName "TKV3d" = return "opencascade-occt"
libNixName "TKVCAF" = return "opencascade-occt"
libNixName "TKViewerTest" = return "opencascade-occt"
libNixName "TKXCAF" = return "opencascade-occt"
libNixName "TKXDEDRAW" = return "opencascade-occt"
libNixName "TKXMesh" = return "opencascade-occt"
libNixName "TKXSBase" = return "opencascade-occt"
libNixName "TKXSDRAW" = return "opencascade-occt"
libNixName "TKXSDRAWDE" = return "opencascade-occt"
libNixName "TKXSDRAWGLTF" = return "opencascade-occt"
libNixName "TKXSDRAWIGES" = return "opencascade-occt"
libNixName "TKXSDRAWOBJ" = return "opencascade-occt"
libNixName "TKXSDRAWPLY" = return "opencascade-occt"
libNixName "TKXSDRAWSTEP" = return "opencascade-occt"
libNixName "TKXSDRAWSTL" = return "opencascade-occt"
libNixName "TKXSDRAWVRML" = return "opencascade-occt"
libNixName "TKXml" = return "opencascade-occt"
libNixName "TKXmlL" = return "opencascade-occt"
libNixName "TKXmlTObj" = return "opencascade-occt"
libNixName "TKXmlXCAF" = return "opencascade-occt"
libNixName "TKernel" = return "opencascade-occt"
libNixName x = return (guessNixIdentifier x)

-- | Map build tool names to Nix attribute names.
Expand Down

0 comments on commit 508bb00

Please sign in to comment.