Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 53 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, mock, jinja2, pygments, # for Erlang support pathspec, # for .gitignore support}:
buildPythonPackage rec { pname = "lizard"; version = "1.17.31"; format = "setuptools"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "terryyin"; repo = "lizard"; rev = version; hash = "sha256-8lu4EknyAI+gn7GOSo13RRHNogpZdgxJ9fTvy7NyIsM="; };
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 = with lib; { changelog = "https://github.com/terryyin/lizard/blob/${version}/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 = licenses.mit; maintainers = with maintainers; [ jpetrucciani ]; };}