OpenSCAD libraries

This commit is contained in:
Geoffrey Frogeye 2025-02-25 14:56:45 +01:00
parent dfa4e65377
commit 0478f00a58
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -14,9 +14,22 @@
];
};
programs.nixvim.plugins = {
# TODO Neither seem to do anything...
# openscad.enable = true;
# openscad.enable = true; # Doesn't do anything besides annoying popups
lsp.servers.openscad_lsp.enable = true;
};
xdg.dataFile = {
"OpenSCAD/libraries/BOSL2".source = pkgs.fetchFromGitHub {
owner = "BelfrySCAD";
repo = "BOSL2";
rev = "ff7e8b8611022b1ce58ea2a1e076028d3d7d40ff"; # no tags, no release
hash = "sha256-esKgXyKLudDfWT2pxOjltZsQ9N6Whlf4zhxd071COzQ=";
};
"OpenSCAD/libraries/MCAD".source = pkgs.fetchFromGitHub {
owner = "openscad";
repo = "MCAD";
rev = "bd0a7ba3f042bfbced5ca1894b236cea08904e26"; # no tags, no release
hash = "sha256-rnrapCe5BkdibbCYVyGZi0l1/8DZxoDnulK37fwZbqo=";
};
};
};
}