Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 79 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980{ lib, stdenv, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies fsspec, imagehash, matplotlib, numpy, pandas, pillow, tabulate, tqdm,
# tests datasets, psutil, pytestCheckHook, torchvision,}:
buildPythonPackage rec { pname = "cleanvision"; version = "0.3.6"; pyproject = true;
src = fetchFromGitHub { owner = "cleanlab"; repo = "cleanvision"; tag = "v${version}"; hash = "sha256-QAydDqLJx/jYKXqxRUElTdM5dOFA6nZag8rNAjPZjRg="; };
build-system = [ setuptools ];
dependencies = [ fsspec imagehash matplotlib numpy pandas pillow tabulate tqdm ];
pythonImportsCheck = [ "cleanvision" ];
nativeCheckInputs = [ datasets psutil pytestCheckHook torchvision ];
preCheck = '' export HOME=$(mktemp -d) '';
disabledTests = [ # Requires accessing s3 (online) "test_s3_dataset" ];
meta = { description = "Automatically find issues in image datasets and practice data-centric computer vision"; homepage = "https://github.com/cleanlab/cleanvision"; changelog = "https://github.com/cleanlab/cleanvision/releases/tag/v${version}"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ GaetanLepage ]; # Fatal Python error: Aborted broken = stdenv.hostPlatform.isDarwin; };}