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:
parent
c08f30a60c
commit
1a549b7c40
14 changed files with 261 additions and 890 deletions
23
codegen.nix
Normal file
23
codegen.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
lib,
|
||||
}: let
|
||||
inherit (lib.sources) sourceByRegex;
|
||||
src = sourceByRegex ./. ["Cargo.*" "(src|benches|tests|test_data)(/.*)?"];
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "demostf-parser-codegen";
|
||||
version = "0.1.0";
|
||||
|
||||
src = lib.traceVal src;
|
||||
|
||||
buildType = "debug";
|
||||
buildFeatures = ["codegen"];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue