Initial commit

This commit is contained in:
2026-03-02 16:15:20 +00:00
commit 1575ff81c1
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
}