pythonPackages.pytestflakes: Move to own file

This commit is contained in:
Elis Hirwing
2018-04-01 14:09:20 +02:00
committed by Frederik Rietdijk
parent f648930a0b
commit e346024ce9
2 changed files with 26 additions and 22 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytestpep8, pytest, pyflakes, pytestcache }:
buildPythonPackage rec {
pname = "pytest-flakes";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0flag3n33kbhyjrhzmq990rvg4yb8hhhl0i48q9hw0ll89jp28lw";
};
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";
};
}