1{ stdenv, buildPythonPackage, fetchPypi, unittest2 }:
2
3buildPythonPackage rec {
4 pname = "pyflakes";
5 version = "2.2.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8";
10 };
11
12 checkInputs = [ unittest2 ];
13
14 meta = with stdenv.lib; {
15 homepage = "https://launchpad.net/pyflakes";
16 description = "A simple program which checks Python source files for errors";
17 license = licenses.mit;
18 maintainers = with maintainers; [ ];
19 };
20}