blob: 665f7b5274a61adcac0be1a43567be2faab66c37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
packaging,
setuptools,
torch,
kornia-rs,
}:
buildPythonPackage rec {
pname = "kornia";
version = "0.8.2";
pyproject = true;
src = fetchFromGitHub {
owner = "kornia";
repo = "kornia";
tag = "v${version}";
hash = "sha256-jNwqWgmILbSrISepuGZZSUnB9GlgwU5J0zqYwN54ul0=";
};
build-system = [ setuptools ];
dependencies = [
kornia-rs
packaging
torch
];
pythonImportsCheck = [
"kornia"
"kornia.augmentation"
"kornia.color"
"kornia.contrib"
"kornia.enhance"
"kornia.feature"
"kornia.filters"
"kornia.geometry"
"kornia.io"
"kornia.losses"
"kornia.metrics"
"kornia.morphology"
"kornia.tracking"
"kornia.utils"
];
doCheck = false; # tests hang with no single test clearly responsible
meta = {
homepage = "https://kornia.readthedocs.io";
changelog = "https://github.com/kornia/kornia/releases/tag/${src.tag}";
description = "Differentiable computer vision library";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|