doc2dash: init at 3.1.0

This commit is contained in:
dish
2026-07-18 14:01:42 -04:00
parent 1774c9744a
commit 1259090343
+48
View File
@@ -0,0 +1,48 @@
{
lib,
fetchFromGitHub,
python3Packages,
nix-update-script,
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "doc2dash";
version = "3.1.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "hynek";
repo = "doc2dash";
tag = finalAttrs.version;
hash = "sha256-u6K+BDc9tUxq4kCekTaqQLtNN/OLVc3rh14sVSfPtoQ=";
};
build-system = with python3Packages; [
hatchling
hatch-vcs
hatch-fancy-pypi-readme
];
dependencies = with python3Packages; [
attrs
beautifulsoup4
click
rich
];
nativeCheckInputs = with python3Packages; [
pytestCheckHook
pytest-cov-stub
];
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/hynek/doc2dash/releases/tag/${finalAttrs.src.tag}";
description = "Create docsets for Dash.app-compatible API browsers";
homepage = "https://doc2dash.hynek.me";
license = with lib.licenses; [ mit ];
maintainers = [ lib.maintainers.pyrox0 ];
mainProgram = "doc2dash";
};
})