about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylint-celery
diff options
context:
space:
mode:
authorKevin Amado <kamadorueda@gmail.com>2020-01-10 01:35:01 -0500
committerJon <jonringer@users.noreply.github.com>2020-01-14 21:26:34 -0800
commit929dc2edd1d3f767c92753f90cb1e83eb4627715 (patch)
tree81d5b5661475969c0cef8c6d3dda19887fea443a /pkgs/development/python-modules/pylint-celery
parente43b456fceccd4fb5c9b7f38296e017c569888d1 (diff)
pythonPackages.pylint-celery: init at 0.3
Diffstat (limited to 'pkgs/development/python-modules/pylint-celery')
-rw-r--r--pkgs/development/python-modules/pylint-celery/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pylint-celery/default.nix b/pkgs/development/python-modules/pylint-celery/default.nix
new file mode 100644
index 0000000000000..6bc7a93049e93
--- /dev/null
+++ b/pkgs/development/python-modules/pylint-celery/default.nix
@@ -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
+    ];
+  };
+}