5 python3Packages.buildPythonApplication rec {
10 src = fetchFromGitHub {
11 owner = "yurijmikhalevich";
13 rev = "refs/tags/v${version}";
14 hash = "sha256-MdqO6X1dbIzmDuDSjrbmKbQfPIPcyhVIbodERYu9PZU=";
17 nativeBuildInputs = with python3Packages; [
21 propagatedBuildInputs = with python3Packages; [
30 nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
32 pythonRelaxDeps = [ "torch" "torchvision" ];
34 pythonImportsCheck = [ "rclip" ];
38 "tests/e2e/test_rclip.py"
43 "test_text_model_produces_the_same_vector_as_the_main_model"
44 "test_loads_text_model_when_text_processing_only_requested_and_checkpoint_exists"
45 "test_loads_full_model_when_text_processing_only_requested_and_checkpoint_doesnt_exist"
49 description = "AI-Powered Command-Line Photo Search Tool";
50 homepage = "https://github.com/yurijmikhalevich/rclip";
51 license = licenses.mit;
52 maintainers = with maintainers; [ iynaix ];
53 mainProgram = "rclip";