From d51318c492e102ed776dc2034c66c14bd68ba2c8 Mon Sep 17 00:00:00 2001 From: Dennis <52411861+DerDennisOP@users.noreply.github.com> Date: Sun, 29 Oct 2023 17:07:01 +0100 Subject: [PATCH] python3.pkgs.complycube: init at 1.1.6 (#236895) --- .../python-modules/complycube/default.nix | 39 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 41 insertions(+) create mode 100644 pkgs/development/python-modules/complycube/default.nix diff --git a/pkgs/development/python-modules/complycube/default.nix b/pkgs/development/python-modules/complycube/default.nix new file mode 100644 index 000000000000..ee99ae8d28bd --- /dev/null +++ b/pkgs/development/python-modules/complycube/default.nix @@ -0,0 +1,39 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pyhumps +, requests +, setuptools +}: + +buildPythonPackage rec { + pname = "complycube"; + version = "1.1.6"; + pyproject = true; + + src = fetchPypi rec { + inherit version; + pname = "complycube"; + hash = "sha256-hetcn5RX582CRVmtG5dAvr+NXD+7NKJjaqgOo8LlpqM="; + }; + + nativeBuildInputs = [ + setuptools + ]; + + propagatedBuildInputs = [ + pyhumps + requests + ]; + + pythonImportsCheck = [ + "complycube" + ]; + + meta = { + homepage = "https://complycube.com"; + description = "Official Python client for the ComplyCube API"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ derdennisop ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 73bd3bb17c1f..0020c04143aa 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2238,6 +2238,8 @@ self: super: with self; { compiledb = callPackage ../development/python-modules/compiledb { }; + complycube = callPackage ../development/python-modules/complycube { }; + compreffor = callPackage ../development/python-modules/compreffor { }; compressai = callPackage ../development/python-modules/compressai { };