about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylint-celery/default.nix
blob: 6bc7a93049e93c1f03de6b422c3cbaa2387fef50 (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
37
{ buildPythonPackage
, fetchFromGitHub
, isPy3k
, lib

# pythonPackages
, pylint-plugin-utils
}:

buildPythonPackage rec {
  pname = "pylint-celery";
  version = "0.3";
  disabled = !isPy3k;

  src = fetchFromGitHub {
    owner = "PyCQA";
    repo = pname;
    rev = version;
    sha256 = "05fhwraq12c2724pn4py1bjzy5rmsrb1x68zck73nlp5icba6yap";
  };

  propagatedBuildInputs = [
    pylint-plugin-utils
  ];

  # Testing requires a very old version of pylint, incompatible with other dependencies
  doCheck = false;

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