diff --git a/pkgs/development/python-modules/rclone-python/default.nix b/pkgs/development/python-modules/rclone-python/default.nix new file mode 100644 index 0000000000000..f6f378d1301bd --- /dev/null +++ b/pkgs/development/python-modules/rclone-python/default.nix @@ -0,0 +1,35 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + rich, + rclone, +}: + +buildPythonPackage rec { + pname = "rclone-python"; + version = "0.1.12"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + sha256 = "kqHSHF4iVXTbQ4kIpCUi7/l+Rn8L/uvSAHyDcjqDSos="; + }; + + propagatedBuildInputs = [ + rclone + rich + ]; + + # tests require working internet connection + doCheck = false; + + pythonImportsCheck = [ "rclone_python" ]; + + meta = { + description = "Python wrapper for rclone"; + homepage = "https://github.com/Johannes11833/rclone_python"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ CaptainJawZ ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bb471da1ef513..9f232bebe3b85 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13768,6 +13768,8 @@ self: super: with self; { rchitect = callPackage ../development/python-modules/rchitect { }; + rclone-python = callPackage ../development/python-modules/rclone-python { }; + rcssmin = callPackage ../development/python-modules/rcssmin { }; rdflib = callPackage ../development/python-modules/rdflib { };