nixpkgs/pkgs/development/python-modules/pytest-flakes/default.nix

26 lines
632 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
, pytestpep8, pytest, pyflakes, pytestcache }:
buildPythonPackage rec {
pname = "pytest-flakes";
2018-06-12 17:47:05 +01:00
version = "3.0.2";
src = fetchPypi {
inherit pname version;
2018-06-12 17:47:05 +01:00
sha256 = "763ec290b89e2dc8f25f49d71cb9b869b8df843697b730233f61c78f847f2e57";
};
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";
};
}