Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, mock, jinja2, pygments, # for Erlang support pathspec, # for .gitignore support setuptools,}:
buildPythonPackage (finalAttrs: { pname = "lizard"; version = "1.24.1"; pyproject = true;
src = fetchFromGitHub { owner = "terryyin"; repo = "lizard"; tag = finalAttrs.version; hash = "sha256-vVnk/GMPiLwnFiRD8IA08u5zS2f85cTcbQTPUnc58f4="; };
build-system = [ setuptools ];
dependencies = [ jinja2 pygments pathspec ];
nativeCheckInputs = [ pytestCheckHook mock ];
disabledTestPaths = [ # re.error: global flags not at the start of the expression at position 14 "test/test_languages/testFortran.py" ];
pythonImportsCheck = [ "lizard" ];
meta = { changelog = "https://github.com/terryyin/lizard/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Code analyzer without caring the C/C++ header files"; mainProgram = "lizard"; downloadPage = "https://github.com/terryyin/lizard"; homepage = "http://www.lizard.ws"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jpetrucciani ]; };})