This PR sets up a Nix flake build for the newly-reorganised kasmer tool; this will allow us to do kup install kasmer once the associated admin / metadata has been done.
The flake implementation is a pretty standard iteration on our kdist-style packaging (c.f. the implementations for the WASM and MX semantics) that this one depends on.
When kasmer is installed, it does not install the related ecosystem tools as well (sc-meta, a Rust toolchain, wasm2wat etc.). It's possible to do this if desired (e.g. kup install kasmer puts sc-meta on your PATH); the kmxwasm-test derivation shows how to package these external dependencies.
This PR sets up a Nix flake build for the newly-reorganised
kasmer
tool; this will allow us to dokup install kasmer
once the associated admin / metadata has been done.The flake implementation is a pretty standard iteration on our kdist-style packaging (c.f. the implementations for the WASM and MX semantics) that this one depends on.
When
kasmer
is installed, it does not install the related ecosystem tools as well (sc-meta
, a Rust toolchain,wasm2wat
etc.). It's possible to do this if desired (e.g.kup install kasmer
putssc-meta
on yourPATH
); thekmxwasm-test
derivation shows how to package these external dependencies.