Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 56 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, packaging, torch}:
buildPythonPackage rec { pname = "kornia"; version = "0.6.12"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-qLJos1ivEws/jFK4j0Kp1ij9J9ZwCoHFRYXnlYxwPFY="; };
propagatedBuildInputs = [ 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.testing" "kornia.utils" ];
doCheck = false; # tests hang with no single test clearly responsible
meta = with lib; { homepage = "https://kornia.github.io/kornia"; changelog = "https://github.com/kornia/kornia/releases/tag/v${version}"; description = "Differentiable computer vision library"; license = licenses.asl20; maintainers = with maintainers; [ bcdarwin ]; };}