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

buildPythonPackage rec {
  pname = "pyflakes";
  version = "1.6.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "8d616a382f243dbf19b54743f280b80198be0bca3a5396f1d2e1fca6223e8805";
  };

  buildInputs = [ unittest2 ];

  doCheck = !isPyPy;

  meta = with stdenv.lib; {
    homepage = https://launchpad.net/pyflakes;
    description = "A simple program which checks Python source files for errors";
    license = licenses.mit;
    maintainers = with maintainers; [ garbas ];
  };
}