2018-10-05 02:27:47 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, eradicate, mccabe, pycodestyle, pydocstyle, pyflakes
|
2018-03-01 11:03:48 +00:00
|
|
|
, pytest, ipdb }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pylama";
|
2018-10-24 08:53:44 +01:00
|
|
|
version = "7.6.5";
|
2018-03-01 11:03:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 08:53:44 +01:00
|
|
|
sha256 = "0277pr066vg1w8ip6kdava7d5daiv7csixpysb37ss140k222iiv";
|
2018-03-01 11:03:48 +00:00
|
|
|
};
|
|
|
|
|
2018-10-05 02:27:47 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
eradicate
|
|
|
|
mccabe
|
|
|
|
pycodestyle
|
|
|
|
pydocstyle
|
|
|
|
pyflakes
|
|
|
|
];
|
2018-03-01 11:03:48 +00:00
|
|
|
|
|
|
|
checkInputs = [ pytest ipdb ];
|
|
|
|
|
|
|
|
# tries to mess with the file system
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Code audit tool for python";
|
|
|
|
homepage = https://github.com/klen/pylama;
|
|
|
|
# ambiguous license declarations: https://github.com/klen/pylama/issues/64
|
2018-10-05 02:27:47 +01:00
|
|
|
license = [ licenses.lgpl3 ];
|
2018-03-01 11:03:48 +00:00
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|