Unverified Commit 2abc362b authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python3Packages.pytest-markdown-docs: 0.5.1 -> 0.9.1 (#484810)

parents 6820bb84 27ee1e1e
Loading
Loading
Loading
Loading
+21 −8
Original line number Diff line number Diff line
@@ -2,26 +2,36 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,

  # build-system
  hatchling,

  # dependencies
  markdown-it-py,
  pytest,

  # tests
  mdit-py-plugins,
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "pytest-markdown-docs";
  version = "0.5.1";
  version = "0.9.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "modal-com";
    repo = "pytest-markdown-docs";
    tag = "v${version}";
    hash = "sha256-mclN28tfPcoFxswECjbrkeOI51XXSqUXfbvuSHrd7Sw=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-7fGuKTHeaMEbsHD9Zje0ODP2FRWSi0WrCZsPwRYP6rg=";
  };

  build-system = [ poetry-core ];
  build-system = [ hatchling ];

  pythonRelaxDeps = [
    "markdown-it-py"
  ];
  dependencies = [
    markdown-it-py
    pytest
@@ -29,7 +39,10 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "pytest_markdown_docs" ];

  nativeCheckInputs = [ pytestCheckHook ];
  nativeCheckInputs = [
    mdit-py-plugins
    pytestCheckHook
  ];

  meta = {
    description = "Run pytest on markdown code fence blocks";
@@ -37,4 +50,4 @@ buildPythonPackage rec {
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}
})