1{
2 lib,
3 python3Packages,
4 fetchFromGitHub,
5}:
6
7python3Packages.buildPythonApplication rec {
8 pname = "docify";
9 version = "1.1.0";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "AThePeanut4";
14 repo = "docify";
15 tag = "v${version}";
16 hash = "sha256-pENahqprTf6weP6qi9CyeQPdNOqr9c/q7j6GO9Lq3N4=";
17 };
18
19 build-system = with python3Packages; [
20 pdm-backend
21 ];
22
23 dependencies = with python3Packages; [
24 libcst
25 tqdm
26 ];
27
28 pythonImportsCheck = [ "docify" ];
29
30 # upstream has no tests
31 doCheck = false;
32
33 meta = {
34 changelog = "https://github.com/AThePeanut4/docify/releases/tag/v${version}";
35 description = "Script to add docstrings to Python type stubs using reflection";
36 homepage = "https://github.com/AThePeanut4/docify";
37 license = lib.licenses.mit;
38 mainProgram = "docify";
39 maintainers = with lib.maintainers; [ dotlambda ];
40 };
41}