mirror of
https://gitlab.cern.ch/wotsubo/endcap-sl-software-ri-generator.git
synced 2025-06-30 00:30:09 +09:00
new(nix): build with nixpkgs buildRustPackage
This commit is contained in:
parent
1bb239812e
commit
9444431a61
4 changed files with 131 additions and 0 deletions
11
nix/endcap-sl-software-ri-generator.nix
Normal file
11
nix/endcap-sl-software-ri-generator.nix
Normal 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" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue