1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 rich, 7 rclone, 8}: 9 10buildPythonPackage rec { 11 pname = "rclone-python"; 12 version = "0.1.21"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "Johannes11833"; 17 repo = "rclone_python"; 18 tag = "v${version}"; 19 hash = "sha256-lYrPSDBWGVQmT2/MgzbtZ6hHNZXINCmmFP+ZHFZQDw8="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 rclone 26 rich 27 ]; 28 29 # tests require working internet connection 30 doCheck = false; 31 32 pythonImportsCheck = [ "rclone_python" ]; 33 34 meta = { 35 changelog = "https://github.com/Johannes11833/rclone_python/releases/tag/${src.tag}"; 36 description = "Python wrapper for rclone"; 37 homepage = "https://github.com/Johannes11833/rclone_python"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ CaptainJawZ ]; 40 }; 41}