python3Packages.lizard: init at 1.17.10 (#187155)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
jacobi petrucciani 2022-08-20 23:33:57 -04:00 committed by GitHub
parent a470101ead
commit cbe0ee6269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, mock
, jinja2
}:
buildPythonPackage rec {
pname = "lizard";
version = "1.17.10";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "terryyin";
repo = "lizard";
rev = version;
sha256 = "sha256-4jq6gXpI1hFtX7ka2c/qQ+S6vZCThKOGhQwJ2FOYItY=";
};
propagatedBuildInputs = [ jinja2 ];
checkInputs = [
pytestCheckHook
mock
];
pythonImportsCheck = [
"lizard"
];
meta = with lib; {
description = "Code analyzer without caring the C/C++ header files";
homepage = "http://www.lizard.ws";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}

View File

@ -5251,6 +5251,8 @@ in {
livestreamer-curses = callPackage ../development/python-modules/livestreamer-curses { };
lizard = callPackage ../development/python-modules/lizard { };
llfuse = callPackage ../development/python-modules/llfuse {
inherit (pkgs) fuse;
};