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=";
21 disabledTestPaths = [ "tests/test_nearley/test_nearley.py" ];
27 python.pkgs.buildPythonApplication rec {
30 format = "setuptools";
32 src = fetchFromGitLab {
33 owner = "bath_open_instrumentation_group";
36 hash = "sha256-P+7g57AH8H7q0hBE2I9w8A+bN5M6MPbc9gA0b889aoQ=";
39 propagatedBuildInputs = with python.pkgs; [ lark010 colorama ];
41 pythonImportsCheck = [ "sca2d" ];
44 description = "Experimental static code analyser for OpenSCAD";
45 mainProgram = "sca2d";
46 homepage = "https://gitlab.com/bath_open_instrumentation_group/sca2d";
47 changelog = "https://gitlab.com/bath_open_instrumentation_group/sca2d/-/blob/${src.rev}/CHANGELOG.md";
48 license = licenses.gpl3Only;
49 maintainers = with maintainers; [ traxys ];