nixpkgs/pkgs/development/python-modules/pylama/default.nix

35 lines
795 B
Nix
Raw Normal View History

2018-10-05 03:27:47 +02:00
{ lib, buildPythonPackage, fetchPypi
, eradicate, mccabe, pycodestyle, pydocstyle, pyflakes
2018-03-01 12:03:48 +01:00
, pytest, ipdb }:
buildPythonPackage rec {
pname = "pylama";
2019-04-11 19:23:21 +02:00
version = "7.7.1";
2018-03-01 12:03:48 +01:00
src = fetchPypi {
inherit pname version;
2019-04-11 19:23:21 +02:00
sha256 = "9bae53ef9c1a431371d6a8dca406816a60d547147b60a4934721898f553b7d8f";
2018-03-01 12:03:48 +01:00
};
2018-10-05 03:27:47 +02:00
propagatedBuildInputs = [
eradicate
mccabe
pycodestyle
pydocstyle
pyflakes
];
2018-03-01 12:03:48 +01: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 03:27:47 +02:00
license = [ licenses.lgpl3 ];
2018-03-01 12:03:48 +01:00
maintainers = with maintainers; [ dotlambda ];
};
}