1{ lib, buildPythonPackage, fetchPypi
2, eradicate, mccabe, pycodestyle, pydocstyle, pyflakes
3, pytest, ipdb }:
4
5buildPythonPackage rec {
6 pname = "pylama";
7 version = "7.6.6";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "f81bf3bbd15db802b620903df491e5cd6469dcd542424ce6718425037dcc4d10";
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}