python311Packages.kornia-rs: unbreak darwin with libiconv
This commit is contained in:
parent
0838b0dadc
commit
35b4f9db08
1 changed files with 4 additions and 0 deletions
|
@ -1,10 +1,12 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, cmake
|
, cmake
|
||||||
, nasm
|
, nasm
|
||||||
, substituteAll
|
, substituteAll
|
||||||
|
, libiconv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -26,6 +28,8 @@ buildPythonPackage rec {
|
||||||
nasm # Only for dependencies.
|
nasm # Only for dependencies.
|
||||||
];
|
];
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
|
||||||
|
|
||||||
cargoRoot = "py-kornia";
|
cargoRoot = "py-kornia";
|
||||||
cargoDeps = rustPlatform.importCargoLock {
|
cargoDeps = rustPlatform.importCargoLock {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
|
|
Loading…
Reference in a new issue