diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/tableauserverclient/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/tableauserverclient/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/tableauserverclient/default.nix b/nixpkgs/pkgs/development/python-modules/tableauserverclient/default.nix new file mode 100644 index 000000000000..601fdee70310 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/tableauserverclient/default.nix @@ -0,0 +1,35 @@ +{ lib +, buildPythonPackage +, python +, fetchPypi +, defusedxml +, requests +, packaging +, requests-mock +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "tableauserverclient"; + version = "0.25"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-01TRYkXEWagFrSB7zvP6Bj4YvIFoaVkgrIm/gSWkILY="; + }; + + propagatedBuildInputs = [ defusedxml requests packaging ]; + + checkInputs = [ requests-mock ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + doCheck = false; # it attempts to create some file artifacts and fails + + meta = { + description = "A Python module for working with the Tableau Server REST API."; + homepage = "https://pypi.org/project/tableauserverclient/"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ]; + }; +} |