mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
Merge pull request #310555 from annaleeleaves/kornia-darwin-fix
python311Packages.kornia-rs: unbreak darwin with libiconv
This commit is contained in:
commit
90e835951a
@ -1,10 +1,12 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, rustPlatform
|
||||
, cmake
|
||||
, nasm
|
||||
, substituteAll
|
||||
, libiconv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -26,6 +28,8 @@ buildPythonPackage rec {
|
||||
nasm # Only for dependencies.
|
||||
];
|
||||
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
|
||||
|
||||
cargoRoot = "py-kornia";
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
|
Loading…
Reference in New Issue
Block a user