nixpkgs/pkgs/development/python-modules/pylint-flask/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

46 lines
918 B
Nix

{
lib,
astroid,
buildPythonPackage,
fetchPypi,
pylint,
pylint-plugin-utils,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pylint-flask";
version = "0.6";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-9Nl94iFr97/OB8nAixZul4/p8nJd4qUKmEWpfefjFRc=";
};
nativeBuildInputs = [ setuptools ];
buildInputs = [ pylint ];
propagatedBuildInputs = [
astroid
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;
pythonImportsCheck = [ "pylint_flask" ];
meta = with lib; {
description = "Pylint plugin to analyze Flask applications";
homepage = "https://github.com/jschaf/pylint-flask";
license = licenses.gpl2Only;
maintainers = with maintainers; [ kamadorueda ];
};
}