1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

merge codegen into main crate

This commit is contained in:
Robin Appelman 2024-02-01 00:31:23 +01:00 committed by Bash
commit 1e152dc26d
14 changed files with 261 additions and 890 deletions

18
parser.nix Normal file
View file

@ -0,0 +1,18 @@
{
stdenv,
rustPlatform,
lib,
}: let
inherit (lib.sources) sourceByRegex;
src = sourceByRegex ./. ["Cargo.*" "(src|benches|tests|test_data)(/.*)?"];
in
rustPlatform.buildRustPackage rec {
pname = "demostf-parser";
version = "0.1.0";
inherit src;
cargoLock = {
lockFile = ./Cargo.lock;
};
}