initial commit

This commit is contained in:
2025-01-14 12:52:52 -06:00
commit 94a6364c23
5 changed files with 49 additions and 0 deletions

9
README.md Normal file
View File

@@ -0,0 +1,9 @@
# 005 - Project Hephaestus
The divine craftsman
A set of high mobility robotic arms with interchangible tools
## Goal:
>- 6DOF arms
>- Support for 3D Printing, CNC, Laser cutting, Photolithography
>- Sealed and ventilated

34
flake.nix Normal file
View File

@@ -0,0 +1,34 @@
{
description = "Build Project Hephaestos";
inputs = {
nixpkgs.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nixpkgs?ref=nixos-24.11";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
packages.${system}.default = pkgs.stdenv.mkDerivation {
name = "Hephaestos";
src = ./src;
buildInputs = with pkgs; [
gcc
];
buildPhase = ''
${pkgs.gcc}/bin/g++ hephaestos.cpp -o $name
'';
installPhase = ''
mkdir -p $out/bin
cp $name $out/bin
'';
};
};
}

5
src/hephaestus.cpp Normal file
View File

@@ -0,0 +1,5 @@
#include "hephaestus.h"
int main() {
std::cout << "hello, world!";
};

1
src/hephaestus.h Normal file
View File

@@ -0,0 +1 @@
#include <iostream>