Skip to content

Commit 9884d89

Browse files
committed
1 parent e79c100 commit 9884d89

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

pkgs/by-name/rc/rclip/package.nix

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,41 @@
55
}:
66
python3Packages.buildPythonApplication rec {
77
pname = "rclip";
8-
version = "1.10.3";
8+
version = "1.11.0";
99
pyproject = true;
1010

1111
src = fetchFromGitHub {
1212
owner = "yurijmikhalevich";
1313
repo = "rclip";
1414
rev = "refs/tags/v${version}";
15-
hash = "sha256-MdqO6X1dbIzmDuDSjrbmKbQfPIPcyhVIbodERYu9PZU=";
15+
hash = "sha256-bu9kz0CCq78lp+d2uPoApzZnVybwyWD/fwgnXYG52dk=";
1616
};
1717

18-
nativeBuildInputs = with python3Packages; [
18+
build-system = with python3Packages; [
1919
poetry-core
2020
];
2121

22-
propagatedBuildInputs = with python3Packages; [
22+
dependencies = with python3Packages; [
23+
numpy
2324
open-clip-torch
2425
pillow
2526
requests
2627
torch
2728
torchvision
2829
tqdm
30+
rawpy
2931
];
3032

31-
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
32-
3333
pythonRelaxDeps = [
34+
"pillow"
3435
"torch"
3536
"torchvision"
3637
];
3738

3839
pythonImportsCheck = [ "rclip" ];
3940

41+
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
42+
4043
disabledTestPaths = [
4144
# requires network
4245
"tests/e2e/test_rclip.py"
@@ -49,11 +52,12 @@ python3Packages.buildPythonApplication rec {
4952
"test_loads_full_model_when_text_processing_only_requested_and_checkpoint_doesnt_exist"
5053
];
5154

52-
meta = with lib; {
55+
meta = {
5356
description = "AI-Powered Command-Line Photo Search Tool";
5457
homepage = "https://github.com/yurijmikhalevich/rclip";
55-
license = licenses.mit;
56-
maintainers = with maintainers; [ iynaix ];
58+
changelog = "https://github.com/yurijmikhalevich/rclip/releases/tag/v${version}";
59+
license = lib.licenses.mit;
60+
maintainers = with lib.maintainers; [ iynaix ];
5761
mainProgram = "rclip";
5862
};
5963
}

0 commit comments

Comments
 (0)