a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
46 lines
876 B
Nix
46 lines
876 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pylint
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, toml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pylint-plugin-utils";
|
|
version = "0.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "PyCQA";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-uDsSSUWdlzuQz6umoYLbIotOYNEnLQu041ZZVMRd2ww=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pylint
|
|
toml
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pylint_plugin_utils"
|
|
];
|
|
|
|
# https://github.com/PyCQA/pylint-plugin-utils/issues/26
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Utilities and helpers for writing Pylint plugins";
|
|
homepage = "https://github.com/PyCQA/pylint-plugin-utils";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ kamadorueda ];
|
|
};
|
|
}
|