From 09fa1c430715479f5e4923f59d58a268aa126348 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Wed, 14 Feb 2024 22:24:50 -0600 Subject: [PATCH] python312Packages.rclone-python: init at 0.1.12 Co-authored-by: Arne Keller <2012gdwu+github@posteo.de> --- .../python-modules/rclone-python/default.nix | 35 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/python-modules/rclone-python/default.nix 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 92354bbb789b5..a35d65ec46e1e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12495,6 +12495,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 { };