`buildDotnetModule`: add support for installing pre-release tools (#374663)
[NixPkgs.git] / pkgs / development / python-modules / pytest-markdown-docs / default.nix
blobd1352941ba7da5605de12a8dad4915c3546556d9
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   poetry-core,
7   markdown-it-py,
8   pytest,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "pytest-markdown-docs";
14   version = "0.5.1";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "modal-com";
21     repo = "pytest-markdown-docs";
22     tag = "v${version}";
23     hash = "sha256-mclN28tfPcoFxswECjbrkeOI51XXSqUXfbvuSHrd7Sw=";
24   };
26   build-system = [ poetry-core ];
28   dependencies = [
29     markdown-it-py
30     pytest
31   ];
33   pythonImportsCheck = [ "pytest_markdown_docs" ];
35   nativeCheckInputs = [ pytestCheckHook ];
37   meta = with lib; {
38     description = "Run pytest on markdown code fence blocks";
39     homepage = "https://github.com/modal-com/pytest-markdown-docs";
40     license = licenses.mit;
41     maintainers = with maintainers; [ GaetanLepage ];
42   };