pythonPackages.pylint-flask: init at 0.6

This commit is contained in:
Kevin Amado 2020-01-09 18:02:03 -05:00 committed by Jon
parent 6f545410b5
commit e43b456fce
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ buildPythonPackage
, fetchPypi
, isPy3k
, lib
# pythonPackages
, pylint-plugin-utils
}:
buildPythonPackage rec {
pname = "pylint-flask";
version = "0.6";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "05qmwgkpvaa5k05abqjxfbrfk3wpdqb8ph690z7bzxvb47i7vngl";
};
propagatedBuildInputs = [
pylint-plugin-utils
];
# Tests require a very old version of pylint
# also tests are only available at GitHub, with an old release tag
doCheck = false;
meta = with lib; {
description = "A Pylint plugin to analyze Flask applications";
homepage = "https://github.com/jschaf/pylint-flask";
license = licenses.gpl2;
maintainers = with maintainers; [
kamadorueda
];
};
}

View file

@ -4831,6 +4831,8 @@ in {
pylint = if isPy3k then callPackage ../development/python-modules/pylint { }
else callPackage ../development/python-modules/pylint/1.9.nix { };
pylint-flask = callPackage ../development/python-modules/pylint-flask { };
pylint-plugin-utils = callPackage ../development/python-modules/pylint-plugin-utils { };
pyomo = callPackage ../development/python-modules/pyomo { };