@@ -0,0 +1,23 @@
1+{ stdenv, buildPythonPackage, fetchPypi, snowballstemmer, configparser,
2+ pytest, pytestpep8, mock, pathlib }:
3+
4+buildPythonPackage rec {
5+ pname = "pydocstyle";
6+ version = "2.1.1";
7+
8+ src = fetchPypi {
9+ inherit pname version;
10+ sha256 = "15ssv8l6cvrmzgwcdzw76rnl4np3qf0dbwr1wsx76y0hc7lwsnsd";
11+ };
12+
13+ propagatedBuildInputs = [ snowballstemmer configparser ];
14+
15+ checkInputs = [ pytest pytestpep8 mock pathlib ];
16+
17+ meta = with stdenv.lib; {
18+ description = "Python docstring style checker";
19+ homepage = https://github.com/PyCQA/pydocstyle/;
20+ license = licenses.mit;
21+ maintainers = with maintainers; [ dzabraev ];
22+ };
23+}