2021-10-31 21:30:59 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, mock }:
|
|
|
|
|
2017-01-31 21:11:36 +00:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "pep257";
|
2017-01-31 21:11:36 +00:00
|
|
|
version = "0.7.0";
|
|
|
|
|
2021-10-30 14:53:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GreenSteam";
|
|
|
|
repo = "pep257";
|
2021-10-31 21:30:59 +00:00
|
|
|
rev = version;
|
2021-10-30 14:53:57 +00:00
|
|
|
sha256 = "sha256-RkE9kkNkRTmZ8zJVwQzMsxU1hcjlxX6UA+ehnareynQ=";
|
2017-01-31 21:11:36 +00:00
|
|
|
};
|
|
|
|
|
2021-10-31 21:30:59 +00:00
|
|
|
checkInputs = [ pytestCheckHook mock ];
|
2017-01-31 21:11:36 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/GreenSteam/pep257/";
|
2017-01-31 21:11:36 +00:00
|
|
|
description = "Python docstring style checker";
|
|
|
|
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
|
2017-03-10 19:27:11 +00:00
|
|
|
license = licenses.mit;
|
2021-10-31 21:30:59 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-01-31 21:11:36 +00:00
|
|
|
};
|
|
|
|
}
|