blob: fa3140a9f66170fcd516b8fb204db8a49972e100 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, mock
, jinja2
}:
buildPythonPackage rec {
pname = "lizard";
version = "1.17.10";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "terryyin";
repo = "lizard";
rev = version;
hash = "sha256-4jq6gXpI1hFtX7ka2c/qQ+S6vZCThKOGhQwJ2FOYItY=";
};
propagatedBuildInputs = [ jinja2 ];
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";
downloadPage = "https://github.com/terryyin/lizard";
homepage = "http://www.lizard.ws";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}
|