From 2e6e7db0d7adb670a97a6738e91d34bad0a6abcc Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Thu, 4 Aug 2022 09:10:51 +0200 Subject: [PATCH] python310Packages.pyarr: init at 4.1.0 --- .../python-modules/pyarr/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/pyarr/default.nix diff --git a/pkgs/development/python-modules/pyarr/default.nix b/pkgs/development/python-modules/pyarr/default.nix new file mode 100644 index 000000000000..0150e0cc9b85 --- /dev/null +++ b/pkgs/development/python-modules/pyarr/default.nix @@ -0,0 +1,30 @@ +{ lib +, fetchPypi +, buildPythonPackage +, types-requests +, requests +}: + +buildPythonPackage rec { + pname = "pyarr"; + version = "4.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-3DX02V3Srpx6hqimWbesxfkDqslVH4+8uXY7XYDmjX0="; + }; + + propagatedBuildInputs = [ + requests + types-requests + ]; + + pythonImportsCheck = [ "pyarr" ]; + + meta = with lib; { + description = "Python client for Servarr API's (Sonarr, Radarr, Readarr, Lidarr)"; + homepage = "https://github.com/totaldebug/pyarr"; + license = licenses.mit; + maintainers = with maintainers; [ onny ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 66212123d5cf..1312889e27ac 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7151,6 +7151,8 @@ in { pyarlo = callPackage ../development/python-modules/pyarlo { }; + pyarr = callPackage ../development/python-modules/pyarr { }; + pyarrow = callPackage ../development/python-modules/pyarrow { inherit (pkgs) arrow-cpp cmake; };