depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-testing/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

43 lines
780 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
mock,
sphinx,
six,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "sphinx-testing";
version = "1.0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "ef661775b5722d7b00f67fc229104317d35637a4fb4434bf2c005afdf1da4d09";
};
nativeCheckInputs = [
unittestCheckHook
mock
];
propagatedBuildInputs = [
sphinx
six
];
unittestFlagsArray = [
"-s"
"tests"
];
# Test failures https://github.com/sphinx-doc/sphinx-testing/issues/5
doCheck = false;
meta = {
homepage = "https://github.com/sphinx-doc/sphinx-testing";
license = lib.licenses.bsd2;
description = "Testing utility classes and functions for Sphinx extensions";
};
}