blob: 5d9991752c4c825e5956f0e4b6f191e541c3bb54 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "docify";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "AThePeanut4";
repo = "docify";
rev = "refs/tags/v${version}";
hash = "sha256-pt35Kw0kaZsIGTutXPhjdp8czGtWrSUFWMV3NyFQ/NM=";
};
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 ];
};
}
|