openscadPackages.bosl: init at unstable-2023-02-19 (#551706)

This commit is contained in:
7c6f434c
2026-08-12 08:18:15 +00:00
committed by GitHub
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{
lib,
buildOpenSCADPackage,
fetchFromGitHub,
}:
buildOpenSCADPackage (finalAttrs: {
pname = "bosl";
version = "unstable-2023-02-19";
libName = "BOSL";
installTargets = [ "*.scad" ];
src = fetchFromGitHub {
owner = "revarbat";
repo = "BOSL";
rev = "4ce427a8a38786e5f74b728c1e33d9fe7d4904d2";
hash = "sha256-24vqGt0TPe09K1WTP8fDX2Wx4MlsDnigzx7Ha0mXCOg=";
};
meta = {
description = "The Belfry OpenScad Library - A library of tools, shapes, and helpers to make OpenScad easier to use.";
homepage = "https://github.com/revarbat/BOSL";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ xoconoch ];
};
})

View File

@@ -12,5 +12,6 @@ lib.makeScope newScope (
lib.recurseIntoAttrs {
buildOpenSCADPackage = self.callPackage ../build-support/build-openscad-package { };
openscad = openscadOrig.override { openscadPackages = self; };
bosl = self.callPackage ../development/openscad-packages/bosl { };
}
)