about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-flakes/default.nix
blob: 83fcdaf1b77683a0c1c1048c7ef3637b01b8f3f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, buildPythonPackage, fetchPypi
, pytestpep8, pytest, pyflakes, pytestcache }:

buildPythonPackage rec {
  pname = "pytest-flakes";
  version = "2.0.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3e880927fd2a77d31715eaab3876196e76d779726c9c24fe32ee5bab23281f82";
  };

  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";
  };
}