nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 39 lines 757 B view raw
1{ buildPythonPackage 2, fetchFromGitHub 3, isPy3k 4, lib 5 6# pythonPackages 7, django 8, pylint-plugin-utils 9}: 10 11buildPythonPackage rec { 12 pname = "pylint-django"; 13 version = "2.0.13"; 14 disabled = !isPy3k; 15 16 src = fetchFromGitHub { 17 owner = "PyCQA"; 18 repo = pname; 19 rev = "v${version}"; 20 sha256 = "16xfn8zs5khdfh5pdsv3wjjhywzc1qhx7mxi5kpbcvmd6an9qi7s"; 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}