commit
cc83447655
2 changed files with 40 additions and 0 deletions
38
pkgs/development/tools/misc/doq/default.nix
Normal file
38
pkgs/development/tools/misc/doq/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue