1{ lib
2, buildPythonPackage
3, isPy3k
4, fetchFromGitHub
5, snowballstemmer
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "pydocstyle";
11 version = "6.1.1";
12 disabled = !isPy3k;
13
14 format = "setuptools";
15
16 src = fetchFromGitHub {
17 owner = "PyCQA";
18 repo = pname;
19 rev = version;
20 sha256 = "sha256-j0WMD2qKDdMaKG2FxrrM/O7zX4waJ1afaRPRv70djkE=";
21 };
22
23 propagatedBuildInputs = [
24 snowballstemmer
25 ];
26
27 checkInputs = [
28 pytestCheckHook
29 ];
30
31 disabledTestPaths = [
32 "src/tests/test_integration.py" # runs pip install
33 ];
34
35 meta = with lib; {
36 description = "Python docstring style checker";
37 homepage = "https://github.com/PyCQA/pydocstyle";
38 license = licenses.mit;
39 maintainers = with maintainers; [ dzabraev ];
40 };
41}