7 python = python3.override {
8 packageOverrides = self: super: {
9 lark010 = super.lark.overridePythonAttrs (old: rec {
12 src = fetchFromGitHub {
13 owner = "lark-parser";
15 rev = "refs/tags/${version}";
16 sha256 = "sha256-ctdPPKPSD4weidyhyj7RCV89baIhmuxucF3/Ojx1Efo=";
19 disabledTestPaths = [ "tests/test_nearley/test_nearley.py" ];
25 python.pkgs.buildPythonApplication rec {
28 format = "setuptools";
30 src = fetchFromGitLab {
31 owner = "bath_open_instrumentation_group";
34 hash = "sha256-P+7g57AH8H7q0hBE2I9w8A+bN5M6MPbc9gA0b889aoQ=";
37 propagatedBuildInputs = with python.pkgs; [ lark010 colorama ];
39 pythonImportsCheck = [ "sca2d" ];
42 description = "An experimental static code analyser for OpenSCAD";
43 homepage = "https://gitlab.com/bath_open_instrumentation_group/sca2d";
44 changelog = "https://gitlab.com/bath_open_instrumentation_group/sca2d/-/blob/${src.rev}/CHANGELOG.md";
45 license = licenses.gpl3Only;
46 maintainers = with maintainers; [ traxys ];