python312Packages.mktestdocs: init at 0.2.1

This commit is contained in:
Gaetan Lepage
2024-08-29 16:01:33 +02:00
parent b4f7fb7143
commit e57c43ea71
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,38 @@
{
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
View File
@@ -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 { };