fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / do / doq / package.nix
blob4427fe3106430069198131e1429fa2efd7d0cb0c
2   lib,
3   python3,
4   fetchFromGitHub,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "doq";
9   version = "0.10.0";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "heavenshell";
14     repo = "py-doq";
15     rev = "refs/tags/${version}";
16     hash = "sha256-iVu+5o8pZ5OhIzNItWbzUzqC3VQ6HCD7nP5gW/PVAMM=";
17   };
19   nativeBuildInputs = with python3.pkgs; [
20     setuptools
21     setuptools-generate
22   ];
24   propagatedBuildInputs = with python3.pkgs; [
25     jinja2
26     parso
27     toml
28   ];
30   nativeCheckInputs = with python3.pkgs; [
31     parameterized
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "doq" ];
37   meta = with lib; {
38     description = "Docstring generator for Python";
39     homepage = "https://github.com/heavenshell/py-doq";
40     changelog = "https://github.com/heavenshell/py-doq/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
41     license = licenses.bsd3;
42     maintainers = with maintainers; [ natsukium ];
43     mainProgram = "doq";
44   };