feat!(cad): rename build123d template to cad
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
description = "made with build123d/cadquery";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
|
||||
project-templates = {
|
||||
url = "git+ssh://gitea@git.krantz.one/reed/project-templates";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.flake-parts.follows = "flake-parts";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
flake-parts,
|
||||
project-templates,
|
||||
...
|
||||
} @ inputs:
|
||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||
imports = [
|
||||
project-templates.flakeModules.cad
|
||||
];
|
||||
|
||||
systems = ["aarch64-linux" "x86_64-linux" "aarch64-darwin"];
|
||||
|
||||
perSystem = {pkgs, ...}: {
|
||||
krantz.cad = {
|
||||
enable = true;
|
||||
builder = ./build.py;
|
||||
|
||||
outputName = "box";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user