depot/third_party/nixpkgs/pkgs/development/python-modules/tableaudocumentapi/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

32 lines
706 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, lxml
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "tableaudocumentapi";
version = "0.10";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ahR+o4UgFLm/9aFsEqmlwXkcgTjqI0wU2Tl9EjVjLZs=";
};
propagatedBuildInputs = [ lxml ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "tableaudocumentapi" ];
# ModuleNotFoundError: No module named 'test.assets'
doCheck = false;
meta = with lib; {
description = "A Python module for working with Tableau files";
homepage = "https://github.com/tableau/document-api-python";
license = licenses.mit;
maintainers = with maintainers; [ costrouc ];
};
}