depot/third_party/nixpkgs/pkgs/development/python-modules/pylint-django/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

39 lines
757 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, isPy3k
, lib
# pythonPackages
, django
, pylint-plugin-utils
}:
buildPythonPackage rec {
pname = "pylint-django";
version = "2.0.14";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "PyCQA";
repo = pname;
rev = "v${version}";
sha256 = "07fkwb4phfr71dpajnq6l64phjxvljx2nf8ibs12n9gwjdvm9i52";
};
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
];
};
}