@@ -0,0 +1,36 @@
1+{ buildPythonPackage
2+, fetchPypi
3+, isPy3k
4+, lib
5+
6+# pythonPackages
7+, pylint-plugin-utils
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "pylint-flask";
12+ version = "0.6";
13+ disabled = !isPy3k;
14+
15+ src = fetchPypi {
16+ inherit pname version;
17+ sha256 = "05qmwgkpvaa5k05abqjxfbrfk3wpdqb8ph690z7bzxvb47i7vngl";
18+ };
19+
20+ propagatedBuildInputs = [
21+ pylint-plugin-utils
22+ ];
23+
24+ # Tests require a very old version of pylint
25+ # also tests are only available at GitHub, with an old release tag
26+ doCheck = false;
27+
28+ meta = with lib; {
29+ description = "A Pylint plugin to analyze Flask applications";
30+ homepage = "https://github.com/jschaf/pylint-flask";
31+ license = licenses.gpl2;
32+ maintainers = with maintainers; [
33+ kamadorueda
34+ ];
35+ };
36+}