python3Packages.kornia-rs: 0.1.10 -> 0.1.14
https://github.com/kornia/kornia-rs/releases/tag/v0.1.11 https://github.com/kornia/kornia-rs/releases/tag/v0.1.12 https://github.com/kornia/kornia-rs/releases/tag/v0.1.13 https://github.com/kornia/kornia-rs/releases/tag/v0.1.14
This commit is contained in:
-2312
File diff suppressed because it is too large
Load Diff
@@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kornia-rs";
|
||||
version = "0.1.10";
|
||||
version = "0.1.14";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kornia";
|
||||
repo = "kornia-rs";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-rC5NqyQah3D4tGLefS4cSIXA3+gQ0+4RNcXOcEYxryg=";
|
||||
hash = "sha256-xzJkuWhSQe5V+I4dKNoGflbt7cARewtEbTdJ3YY+cm8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -33,15 +33,15 @@ buildPythonPackage rec {
|
||||
nasm # Only for dependencies.
|
||||
];
|
||||
|
||||
cargoRoot = "kornia-py";
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit
|
||||
pname
|
||||
version
|
||||
src
|
||||
;
|
||||
hash = "sha256-hnvPKm0ul1IXKFtVe1j0D6ogXQ44wpDFpeWn/p5ZKeA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${./Cargo.lock} kornia-py/Cargo.lock
|
||||
'';
|
||||
|
||||
maturinBuildFlags = [
|
||||
"-m"
|
||||
"kornia-py/Cargo.toml"
|
||||
@@ -55,16 +55,16 @@ buildPythonPackage rec {
|
||||
torch
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# requires apriltag-imgs submodule
|
||||
"test_apriltag_decoder"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/kornia/kornia-rs";
|
||||
description = "Python bindings to Low-level Computer Vision library in Rust";
|
||||
changelog = "https://github.com/kornia/kornia-rs/releases/tag/v${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ chpatrick ];
|
||||
badPlatforms = [
|
||||
# error: could not compile `kornia-3d` (lib)
|
||||
# error: rustc interrupted by SIGSEGV
|
||||
"aarch64-linux"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user