Merge pull request from bcdarwin/kornia-fix-homepage

python312Packages.kornia: fix homepage URL, minor refactor
This commit is contained in:
Peder Bergebakken Sundt 2024-08-12 00:35:59 +02:00 committed by GitHub
commit f891299027
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@
fetchFromGitHub,
pythonOlder,
packaging,
setuptools,
torch,
kornia-rs,
}:
@ -11,7 +12,7 @@
buildPythonPackage rec {
pname = "kornia";
version = "0.7.3";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.8";
@ -22,7 +23,9 @@ buildPythonPackage rec {
hash = "sha256-iEg27b2JVLtAYLFncaSqIh5FyvmmitKAKP7Tl0WWNdk=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
kornia-rs
packaging
torch
@ -47,11 +50,11 @@ buildPythonPackage rec {
doCheck = false; # tests hang with no single test clearly responsible
meta = with lib; {
homepage = "https://kornia.github.io/kornia";
meta = {
homepage = "https://kornia.readthedocs.io";
changelog = "https://github.com/kornia/kornia/releases/tag/v${version}";
description = "Differentiable computer vision library";
license = licenses.asl20;
maintainers = with maintainers; [ bcdarwin ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}