pythonPackages.pylint-django: init at 2.0.12
This commit is contained in:
parent
929dc2edd1
commit
aaf4ecfdda
39
pkgs/development/python-modules/pylint-django/default.nix
Normal file
39
pkgs/development/python-modules/pylint-django/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, django
|
||||
, pylint-plugin-utils
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylint-django";
|
||||
version = "2.0.12";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyCQA";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0ha06wpqqn5fp5dapgjhsdx3ahh3y62l7k2f3czlrdjmmivgdp9y";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
pylint-plugin-utils
|
||||
];
|
||||
|
||||
# Testing requires checkout from other repositories
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Pylint plugin to analyze Django applications";
|
||||
homepage = "https://github.com/PyCQA/pylint-django";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
@ -4833,6 +4833,8 @@ in {
|
||||
|
||||
pylint-celery = callPackage ../development/python-modules/pylint-celery { };
|
||||
|
||||
pylint-django = callPackage ../development/python-modules/pylint-django { };
|
||||
|
||||
pylint-flask = callPackage ../development/python-modules/pylint-flask { };
|
||||
|
||||
pylint-plugin-utils = callPackage ../development/python-modules/pylint-plugin-utils { };
|
||||
|
Loading…
Reference in New Issue
Block a user