summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylint-flask/default.nix
blob: 5077d07a936b239467eb25067cfff923a79bd0dd (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
26
27
28
29
30
31
32
33
34
35
36
{ buildPythonPackage
, fetchPypi
, isPy3k
, lib

# pythonPackages
, pylint-plugin-utils
}:

buildPythonPackage rec {
  pname = "pylint-flask";
  version = "0.6";
  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "05qmwgkpvaa5k05abqjxfbrfk3wpdqb8ph690z7bzxvb47i7vngl";
  };

  propagatedBuildInputs = [
    pylint-plugin-utils
  ];

  # Tests require a very old version of pylint
  #   also tests are only available at GitHub, with an old release tag
  doCheck = false;

  meta = with lib; {
    description = "A Pylint plugin to analyze Flask applications";
    homepage = "https://github.com/jschaf/pylint-flask";
    license = licenses.gpl2;
    maintainers = with maintainers; [
      kamadorueda
    ];
  };
}