new(nix): build with nixpkgs buildRustPackage

This commit is contained in:
Wataru Otsubo 2025-04-10 02:54:01 +09:00 committed by Wataru Otsubo
parent 1bb239812e
commit 9444431a61
4 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{ rustPlatform }:
# https://nixos.org/manual/nixpkgs/stable/#rust
rustPlatform.buildRustPackage {
pname = "endcap-sl-software-ri-generator";
version = "0.3.0";
src = ../.;
cargoLock.lockFile = ../Cargo.lock;
buildFeatures = [ "bin" ];
}