Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, mock, jinja2, pygments, # for Erlang support pathspec, # for .gitignore support}:
buildPythonPackage rec { pname = "lizard"; version = "1.21.6"; format = "setuptools";
src = fetchFromGitHub { owner = "terryyin"; repo = "lizard"; tag = version; hash = "sha256-ZRXO9XijsZdtDffEvQ6iYVr8PKP93JD01L/bg9NOEpM="; };
propagatedBuildInputs = [ 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/${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 ]; };}