Commit e57c43ea authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.mktestdocs: init at 0.2.1

parent b4f7fb71
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  setuptools,

  # tests
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "mktestdocs";
  version = "0.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "koaning";
    repo = "mktestdocs";
    rev = "refs/tags/${version}";
    hash = "sha256-snlt6SDiDYr04b2b2NgBC/1IBffpei034vFx3fnYUOc=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "mktestdocs" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Run pytest against markdown files/docstrings";
    homepage = "https://github.com/koaning/mktestdocs";
    changelog = "https://github.com/koaning/mktestdocs/releases/tag/${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -7916,6 +7916,8 @@ self: super: with self; {
  mkl-service = callPackage ../development/python-modules/mkl-service { };
  mktestdocs = callPackage ../development/python-modules/mktestdocs { };
  ml-collections = callPackage ../development/python-modules/ml-collections { };
  ml-dtypes = callPackage ../development/python-modules/ml-dtypes { };