about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pydocstyle/default.nix
blob: fd1f0db0c1e5c927500c5202ddcb90984ca17b5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, buildPythonPackage, fetchPypi, snowballstemmer, configparser,
  pytest, pytestpep8, mock, pathlib }:

buildPythonPackage rec {
  pname = "pydocstyle";
  version = "2.1.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "15ssv8l6cvrmzgwcdzw76rnl4np3qf0dbwr1wsx76y0hc7lwsnsd";
  };

  propagatedBuildInputs = [ snowballstemmer configparser ];

  checkInputs = [ pytest pytestpep8 mock pathlib ];

  meta = with stdenv.lib; {
    description = "Python docstring style checker";
    homepage = https://github.com/PyCQA/pydocstyle/;
    license = licenses.mit;
    maintainers = with maintainers; [ dzabraev ];
  };
}