2018-04-01 14:09:20 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pytestpep8, pytest, pyflakes, pytestcache }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-flakes";
|
2018-04-04 20:15:22 +02:00
|
|
|
version = "2.0.0";
|
2018-04-01 14:09:20 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:15:22 +02:00
|
|
|
sha256 = "3e880927fd2a77d31715eaab3876196e76d779726c9c24fe32ee5bab23281f82";
|
2018-04-01 14:09:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytestpep8 pytest ];
|
|
|
|
propagatedBuildInputs = [ pyflakes pytestcache ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test test_flakes.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = https://pypi.python.org/pypi/pytest-flakes;
|
|
|
|
description = "pytest plugin to check source code with pyflakes";
|
|
|
|
};
|
|
|
|
}
|