mirror of
https://codeberg.org/demostf/edit.git
synced 2026-11-30 10:00:50 +01:00
19 lines
338 B
Nix
19 lines
338 B
Nix
{ rustPlatform }:
|
|
let
|
|
inherit (builtins) fromTOML readFile;
|
|
version = (fromTOML (readFile ../wasm/Cargo.toml)).package.version;
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
pname = "demostf-edit";
|
|
inherit version;
|
|
|
|
cargoBuildFlags = ''
|
|
--features cli
|
|
'';
|
|
|
|
src = ../wasm;
|
|
|
|
cargoLock = {
|
|
lockFile = ../wasm/Cargo.lock;
|
|
};
|
|
}
|