1{ 2 lib, 3 buildPythonPackage, 4 defusedxml, 5 fetchPypi, 6 packaging, 7 pytestCheckHook, 8 requests, 9 requests-mock, 10 setuptools, 11 typing-extensions, 12 versioneer, 13}: 14 15buildPythonPackage rec { 16 pname = "tableauserverclient"; 17 version = "0.38"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-Td2QW10vsKojhk9eeO90QbArdIuNn+hbNk9LvCYwgyo="; 23 }; 24 25 pythonRelaxDeps = [ 26 "defusedxml" 27 "urllib3" 28 ]; 29 30 build-system = [ 31 setuptools 32 versioneer 33 ]; 34 35 dependencies = [ 36 defusedxml 37 requests 38 packaging 39 typing-extensions 40 ]; 41 42 nativeCheckInputs = [ 43 requests-mock 44 pytestCheckHook 45 ]; 46 47 # Tests attempt to create some file artifacts and fails 48 doCheck = false; 49 50 pythonImportsCheck = [ "tableauserverclient" ]; 51 52 meta = with lib; { 53 description = "Module for working with the Tableau Server REST API"; 54 homepage = "https://github.com/tableau/server-client-python"; 55 changelog = "https://github.com/tableau/server-client-python/releases/tag/v${version}"; 56 license = licenses.mit; 57 maintainers = [ ]; 58 }; 59}