Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
898 B
Nix
42 lines
898 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "docify";
|
|
version = "1.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AThePeanut4";
|
|
repo = "docify";
|
|
tag = "v${version}";
|
|
hash = "sha256-pENahqprTf6weP6qi9CyeQPdNOqr9c/q7j6GO9Lq3N4=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
pdm-backend
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
libcst
|
|
tqdm
|
|
];
|
|
|
|
pythonImportsCheck = [ "docify" ];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/AThePeanut4/docify/releases/tag/v${version}";
|
|
description = "Script to add docstrings to Python type stubs using reflection";
|
|
homepage = "https://github.com/AThePeanut4/docify";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "docify";
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|