depot/third_party/nixpkgs/pkgs/development/python-modules/tableaudocumentapi/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

43 lines
889 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, lxml
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "tableaudocumentapi";
version = "0.11";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-g6V1UBf+P21FcZkR3PHoUmdmrQwEvjdd1VKhvNmvOys=";
};
propagatedBuildInputs = [
lxml
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"tableaudocumentapi"
];
# ModuleNotFoundError: No module named 'test.assets'
doCheck = false;
meta = with lib; {
description = "Python module for working with Tableau files";
homepage = "https://github.com/tableau/document-api-python";
changelog = "https://github.com/tableau/document-api-python/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ costrouc ];
};
}