1{ lib, buildPythonPackage, fetchPypi
2, eradicate, mccabe, pycodestyle, pydocstyle, pyflakes
3, pytest, ipdb }:
4
5buildPythonPackage rec {
6 pname = "pylama";
7 version = "7.7.1";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "9bae53ef9c1a431371d6a8dca406816a60d547147b60a4934721898f553b7d8f";
12 };
13
14 propagatedBuildInputs = [
15 eradicate
16 mccabe
17 pycodestyle
18 pydocstyle
19 pyflakes
20 ];
21
22 checkInputs = [ pytest ipdb ];
23
24 # tries to mess with the file system
25 doCheck = false;
26
27 meta = with lib; {
28 description = "Code audit tool for python";
29 homepage = "https://github.com/klen/pylama";
30 # ambiguous license declarations: https://github.com/klen/pylama/issues/64
31 license = [ licenses.lgpl3 ];
32 maintainers = with maintainers; [ dotlambda ];
33 };
34}