lol

sca2d: init at 0.2.0 (#223097)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by

traxys
Sandro
and committed by
GitHub
116a0fb6 a76b55ea

+50
+48
pkgs/development/tools/sca2d/default.nix
··· 1 + { lib 2 + , python3 3 + , fetchFromGitLab 4 + , fetchFromGitHub 5 + }: 6 + let 7 + python = python3.override { 8 + packageOverrides = self: super: { 9 + lark010 = super.lark.overridePythonAttrs (old: rec { 10 + version = "0.10.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "lark-parser"; 14 + repo = "lark"; 15 + rev = "refs/tags/${version}"; 16 + sha256 = "sha256-ctdPPKPSD4weidyhyj7RCV89baIhmuxucF3/Ojx1Efo="; 17 + }; 18 + 19 + disabledTestPaths = [ "tests/test_nearley/test_nearley.py" ]; 20 + }); 21 + }; 22 + self = python; 23 + }; 24 + in 25 + python.pkgs.buildPythonApplication rec { 26 + pname = "sca2d"; 27 + version = "0.2.0"; 28 + format = "setuptools"; 29 + 30 + src = fetchFromGitLab { 31 + owner = "bath_open_instrumentation_group"; 32 + repo = "sca2d"; 33 + rev = "v${version}"; 34 + hash = "sha256-P+7g57AH8H7q0hBE2I9w8A+bN5M6MPbc9gA0b889aoQ="; 35 + }; 36 + 37 + propagatedBuildInputs = with python.pkgs; [ lark010 colorama ]; 38 + 39 + pythonImportsCheck = [ "sca2d" ]; 40 + 41 + meta = with lib; { 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 ]; 47 + }; 48 + }
+2
pkgs/top-level/all-packages.nix
··· 18811 18811 18812 18812 semantik = libsForQt5.callPackage ../applications/office/semantik { }; 18813 18813 18814 + sca2d = callPackage ../development/tools/sca2d { }; 18815 + 18814 18816 sconsPackages = dontRecurseIntoAttrs (callPackage ../development/tools/build-managers/scons { }); 18815 18817 scons = sconsPackages.scons_latest; 18816 18818