mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.pylint-plugin-utils: init at 0.6
This commit is contained in:
parent
4c1e1bba84
commit
2b7f4eddde
2 changed files with 40 additions and 0 deletions
|
@ -0,0 +1,38 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, pylint
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylint-plugin-utils";
|
||||
version = "0.6";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyCQA";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1zapmbczxs1phrwbd0yvpfxhljd2pyv4pi9rwggaq38lcnc325s7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pylint
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
python tests.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities and helpers for writing Pylint plugins";
|
||||
homepage = "https://github.com/PyCQA/pylint-plugin-utils";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -4813,6 +4813,8 @@ in {
|
|||
pylint = if isPy3k then callPackage ../development/python-modules/pylint { }
|
||||
else callPackage ../development/python-modules/pylint/1.9.nix { };
|
||||
|
||||
pylint-plugin-utils = callPackage ../development/python-modules/pylint-plugin-utils { };
|
||||
|
||||
pyomo = callPackage ../development/python-modules/pyomo { };
|
||||
|
||||
pyopencl = callPackage ../development/python-modules/pyopencl { };
|
||||
|
|
Loading…
Reference in a new issue