diff --git a/pkgs/development/python-modules/kornia/default.nix b/pkgs/development/python-modules/kornia/default.nix index 5c3176db7ced..013ccbd9010f 100644 --- a/pkgs/development/python-modules/kornia/default.nix +++ b/pkgs/development/python-modules/kornia/default.nix @@ -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 ]; }; }