Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib,
toPythonModule, pythonImportsCheckHook,
coal,
boost, eigenpy, pylatexenc, numpy,
buildStandalone ? true,}:toPythonModule ( coal.overrideAttrs (super: { pname = "py-${super.pname}";
cmakeFlags = super.cmakeFlags ++ [ (lib.cmakeBool "BUILD_PYTHON_INTERFACE" true) (lib.cmakeBool "BUILD_STANDALONE_PYTHON_INTERFACE" buildStandalone) ];
# those are used by CMake at configure/build time nativeBuildInputs = super.nativeBuildInputs ++ [ numpy pylatexenc ];
propagatedBuildInputs = [ boost eigenpy ] ++ super.propagatedBuildInputs ++ lib.optional buildStandalone coal;
nativeCheckInputs = [ pythonImportsCheckHook ];
pythonImportsCheck = [ "coal" "hppfcl" ]; }))