depot/third_party/nixpkgs/pkgs/development/python-modules/tableaudocumentapi/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

43 lines
883 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
];
checkInputs = [
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 ];
};
}