initial commit

This commit is contained in:
Aaron Manning
2026-09-15 17:32:04 +10:00
commit d3f3403523
25 changed files with 5192 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
{ pkgs ? import <nixpkgs> { } }:
let
manifest = (pkgs.lib.importTOML ./Cargo.toml).package;
in pkgs.rustPlatform.buildRustPackage rec {
pname = manifest.name;
version = manifest.version;
cargoLock.lockFile = ./Cargo.lock;
src = pkgs.lib.cleanSource ./.;
nativeBuildInputs = with pkgs; [
pkg-config
];
buildInputs = with pkgs; [
openssl
];
}