feat: enma parsing

This commit is contained in:
2024-04-17 18:21:11 +02:00
commit 0f6bfc272c
22 changed files with 5030 additions and 0 deletions

45
flake.nix Normal file
View File

@@ -0,0 +1,45 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
rust-overlay.url = "github:oxalica/rust-overlay";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
rust-overlay,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
overlays = [ (import rust-overlay) ];
pkgs = import nixpkgs { inherit system overlays; };
rust-bin = pkgs.rust-bin.stable.latest.default.override {
extensions = [
"rust-src"
"rust-std"
"clippy"
"rust-analyzer"
];
};
in
{
devShell = pkgs.mkShell rec {
nativeBuildInputs = with pkgs; [
rust-bin
pkg-config
];
buildInputs = with pkgs; [
udev
alsa-lib
vulkan-loader
libxkbcommon
wayland
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;
};
}
);
}