Merge pull request #242754 from natsukium/doq/init

doq: init at 0.9.1
This commit is contained in:
Pol Dellaiera 2023-07-14 18:56:19 +02:00 committed by GitHub
commit cc83447655
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "doq";
version = "0.9.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "heavenshell";
repo = "py-doq";
rev = "refs/tags/${version}";
hash = "sha256-6ff7R/2Jo4jYm1hA70yopjklpKIMWlj7DH9eKxOlfgU=";
};
propagatedBuildInputs = with python3.pkgs; [
jinja2
parso
toml
];
nativeCheckInputs = with python3.pkgs; [
parameterized
unittestCheckHook
];
pythonImportsCheck = [ "doq" ];
meta = with lib; {
description = "Docstring generator for Python";
homepage = "https://github.com/heavenshell/py-doq";
changelog = "https://github.com/heavenshell/py-doq/releases/tag/${src.rev}";
license = licenses.bsd3;
maintainers = with maintainers; [ natsukium ];
};
}

View file

@ -18043,6 +18043,8 @@ with pkgs;
dbus-test-runner = callPackage ../development/tools/dbus-test-runner { };
doq = callPackage ../development/tools/misc/doq { };
phpunit = callPackage ../development/tools/misc/phpunit { };
teller = callPackage ../development/tools/teller { };