evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pytest-markdown-docs / default.nix
blobd09187cafa59af2fe8034b77f98ff9ddd48724b2
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     rev = "refs/tags/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   };