mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +02:00
18 lines
331 B
Nix
18 lines
331 B
Nix
{
|
|
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;
|
|
};
|
|
}
|