Something went wrong. Try again.
lol
Something went wrong. Try again.
781 B · 41 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib,
toPythonModule, pythonImportsCheckHook,
ndcurves,
boost, pinocchio, python,
buildStandalone ? true,}:toPythonModule ( ndcurves.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 ++ [ python ]; propagatedBuildInputs = [ boost pinocchio ] ++ super.propagatedBuildInputs ++ lib.optional buildStandalone ndcurves;
nativeCheckInputs = [ pythonImportsCheckHook ];
pythonImportsCheck = [ "ndcurves" ]; }))