10 buildPythonPackage rec {
15 src = fetchFromGitHub {
18 rev = "refs/tags/v${version}";
19 hash = "sha256-1c3wnQ30J2OfnBffzGfPPt9St8VpLGmFGbifzbw+cOc=";
27 nativeCheckInputs = [ pytestCheckHook ];
31 export PATH=$out/bin:$PATH
34 pythonImportsCheck = [ "xdoctest" ];
37 description = "Rewrite of Python's builtin doctest module (with pytest plugin integration) with AST instead of REGEX";
38 homepage = "https://github.com/Erotemic/xdoctest";
39 changelog = "https://github.com/Erotemic/xdoctest/blob/${src.rev}/CHANGELOG.md";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ natsukium ];
42 mainProgram = "xdoctest";