git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.pylint-django: init at 2.0.12
commitaaf4ecfddae2a9ffdb6a616d207f38903ce64209 authorKevin Amado <kamadorueda@gmail.com> dateFri 10 Jan 2020, 01:35 (7 years ago) parent929dc2e
2 files changed+41
pkgs/development/python-modules/pylint-django/default.nix+39 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/pylint-django/default.nixnew file+39
@@ -0,0 +1,39 @@
1+{ buildPythonPackage
2+, fetchFromGitHub
3+, isPy3k
4+, lib
5+
6+# pythonPackages
7+, django
8+, pylint-plugin-utils
9+}:
10+
11+buildPythonPackage rec {
12+ pname = "pylint-django";
13+ version = "2.0.12";
14+ disabled = !isPy3k;
15+
16+ src = fetchFromGitHub {
17+ owner = "PyCQA";
18+ repo = pname;
19+ rev = "v${version}";
20+ sha256 = "0ha06wpqqn5fp5dapgjhsdx3ahh3y62l7k2f3czlrdjmmivgdp9y";
21+ };
22+
23+ propagatedBuildInputs = [
24+ django
25+ pylint-plugin-utils
26+ ];
27+
28+ # Testing requires checkout from other repositories
29+ doCheck = false;
30+
31+ meta = with lib; {
32+ description = "A Pylint plugin to analyze Django applications";
33+ homepage = "https://github.com/PyCQA/pylint-django";
34+ license = licenses.gpl2;
35+ maintainers = with maintainers; [
36+ kamadorueda
37+ ];
38+ };
39+}
pkgs/top-level/python-packages.nix+2
@@ -4833,6 +4833,8 @@ in {
48334833
48344834 pylint-celery = callPackage ../development/python-modules/pylint-celery { };
48354835
4836+ pylint-django = callPackage ../development/python-modules/pylint-django { };
4837+
48364838 pylint-flask = callPackage ../development/python-modules/pylint-flask { };
48374839
48384840 pylint-plugin-utils = callPackage ../development/python-modules/pylint-plugin-utils { };