python3Packages.ndcurves: depend on pkgs.ndcurves
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
|
||||
toPythonModule,
|
||||
pythonImportsCheckHook,
|
||||
|
||||
ndcurves,
|
||||
|
||||
boost,
|
||||
pinocchio,
|
||||
python,
|
||||
}:
|
||||
toPythonModule (
|
||||
ndcurves.overrideAttrs (super: {
|
||||
pname = "py-${super.pname}";
|
||||
cmakeFlags = super.cmakeFlags ++ [
|
||||
(lib.cmakeBool "BUILD_PYTHON_INTERFACE" true)
|
||||
(lib.cmakeBool "BUILD_STANDALONE_PYTHON_INTERFACE" true)
|
||||
];
|
||||
# those are used by CMake at configure/build time
|
||||
nativeBuildInputs = super.nativeBuildInputs ++ [
|
||||
python
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
boost
|
||||
pinocchio
|
||||
ndcurves
|
||||
]
|
||||
++ super.propagatedBuildInputs;
|
||||
nativeCheckInputs = [
|
||||
pythonImportsCheckHook
|
||||
];
|
||||
pythonImportsCheck = [
|
||||
"ndcurves"
|
||||
];
|
||||
})
|
||||
)
|
||||
@@ -10361,12 +10361,7 @@ self: super: with self; {
|
||||
|
||||
nclib = callPackage ../development/python-modules/nclib { };
|
||||
|
||||
ndcurves = toPythonModule (
|
||||
pkgs.ndcurves.override {
|
||||
python3Packages = self;
|
||||
pythonSupport = true;
|
||||
}
|
||||
);
|
||||
ndcurves = callPackage ../development/python-modules/ndcurves { inherit (pkgs) ndcurves; };
|
||||
|
||||
ndeflib = callPackage ../development/python-modules/ndeflib { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user