thermostat/nix/adc2tcp.nix

18 lines
330 B
Nix
Raw Normal View History

2019-03-07 23:27:33 +08:00
{ stdenv, rustPlatform }:
with rustPlatform;
buildRustPackage rec {
name = "adc2tcp";
version = "0.0.0";
src = ../.;
cargoSha256 = "0q3cn3jzgmrqiymisxymn19vbnnpsj7if052w5zh25x9ikin6lpl";
doCheck = false;
2019-03-08 01:24:21 +08:00
installPhase = ''
mkdir -p $out/lib
cp target/thumbv7em-none-eabihf/release/adc2tcp $out/lib/
'';
2019-03-07 23:27:33 +08:00
}