mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
f51c991c4e
Diff: https://github.com/koaning/mktestdocs/compare/refs/tags/0.2.1...0.2.3 Changelog: https://github.com/koaning/mktestdocs/releases/tag/0.2.3
39 lines
820 B
Nix
39 lines
820 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mktestdocs";
|
|
version = "0.2.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "koaning";
|
|
repo = "mktestdocs";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-egLlgq0lQOk0cPBly01zQ0rkl7D7Rf/bZ4en5oG+wlE=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|