nixpkgs/pkgs/development/tools/rust/cargo-espmonitor/default.nix
Alexander Sieg e468c7f795
Update pkgs/development/tools/rust/cargo-espmonitor/default.nix
Co-authored-by: Nikolay Korotkiy <sikmir@disroot.org>
2022-09-17 11:02:00 +02:00

28 lines
610 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, systemd
,
}:
rustPlatform.buildRustPackage rec {
pname = "espmonitor";
version = "0.10.0";
src = fetchFromGitHub {
owner = "esp-rs";
repo = pname;
rev = "v${version}";
sha256 = "hWFdim84L2FfG6p9sEf+G5Uq4yhp5kv1ZMdk4sMHa+4=";
};
cargoSha256 = "d0tN6NZiAd+RkRy941fIaVEw/moz6tkpL0rN8TZew3g=";
meta = with lib; {
description = "Cargo tool for monitoring ESP32/ESP8266 execution";
homepage = "https://github.com/esp-rs/espmonitor";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ xanderio ];
};
}