1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

pythonPackages.pylint-celery: init at 0.3

This commit is contained in:
Kevin Amado 2020-01-10 01:35:01 -05:00 committed by Jon
parent e43b456fce
commit 929dc2edd1
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,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
];
};
}

View file

@ -4831,6 +4831,8 @@ in {
pylint = if isPy3k then callPackage ../development/python-modules/pylint { }
else callPackage ../development/python-modules/pylint/1.9.nix { };
pylint-celery = callPackage ../development/python-modules/pylint-celery { };
pylint-flask = callPackage ../development/python-modules/pylint-flask { };
pylint-plugin-utils = callPackage ../development/python-modules/pylint-plugin-utils { };