1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 rich,
6 rclone,
7}:
8
9buildPythonPackage rec {
10 pname = "rclone-python";
11 version = "0.1.12";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "kqHSHF4iVXTbQ4kIpCUi7/l+Rn8L/uvSAHyDcjqDSos=";
17 };
18
19 propagatedBuildInputs = [
20 rclone
21 rich
22 ];
23
24 # tests require working internet connection
25 doCheck = false;
26
27 pythonImportsCheck = [ "rclone_python" ];
28
29 meta = {
30 description = "Python wrapper for rclone";
31 homepage = "https://github.com/Johannes11833/rclone_python";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ CaptainJawZ ];
34 };
35}