git.iko.soy/typeable/nixpkgs
on master help sign in
pydocstyle: init at 0.3.2
commita451f97d2faa4a13564e57ebcb8f4fab0285e1e5 authorMaxim Dzabraev <dzabraew@gmail.com> dateFri 19 Jan 2018, 19:22 (9 years ago) parent87b2e17
2 files changed+25
pkgs/development/python-modules/pydocstyle/default.nix+23 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/pydocstyle/default.nixnew file+23
@@ -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+}
pkgs/top-level/python-packages.nix+2
@@ -281,6 +281,8 @@ in {
281281
282282 pydbus = callPackage ../development/python-modules/pydbus { };
283283
284+ pydocstyle = callPackage ../development/python-modules/pydocstyle { };
285+
284286 pyexiv2 = disabledIf isPy3k (callPackage ../development/python-modules/pyexiv2 {});
285287
286288 py3exiv2 = callPackage ../development/python-modules/py3exiv2 { };