Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / tableauserverclient / default.nix
blob6bcdde6c73904b835812d4af7b0bbf16b7db29e6
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , defusedxml
5 , requests
6 , packaging
7 , requests-mock
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "tableauserverclient";
14   version = "0.28";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-jSblDVkuuBBZ7GmPKUYji8wtRoPS7g8r6Ye9EpnjvKA=";
22   };
24   propagatedBuildInputs = [
25     defusedxml
26     requests
27     packaging
28   ];
30   nativeCheckInputs = [
31     requests-mock
32     pytestCheckHook
33   ];
35   # Tests attempt to create some file artifacts and fails
36   doCheck = false;
38   pythonImportsCheck = [
39     "tableauserverclient"
40   ];
42   meta = with lib; {
43     description = "Module for working with the Tableau Server REST API";
44     homepage = "https://github.com/tableau/server-client-python";
45     changelog = "https://github.com/tableau/server-client-python/releases/tag/v${version}";
46     license = licenses.mit;
47     maintainers = with maintainers; [ ];
48   };