Initial commit

This commit is contained in:
2026-06-03 12:21:19 +02:00
commit fe9c7e9682
9 changed files with 325 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
{
lib,
rustPlatform,
packageName,
pkg-config,
# add nixpkgs if your dependencies requires system libraries
}:
rustPlatform.buildRustPackage {
name = "${packageName}";
src = ./.;
# buildInputs = [ ]; <-- add nixpkgs if your dependencies requires system libraries
nativeBuildInputs = [ pkg-config ];
cargoHash = lib.fakeHash; # <-- Put your real hash here after failed nix build
}