1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
nixpkgs/pkgs/tools/misc/blflash/default.nix

23 lines
605 B
Nix
Raw Normal View History

2021-02-01 19:26:57 +00:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "blflash";
version = "0.3.2";
src = fetchFromGitHub {
owner = "spacemeowx2";
repo = "blflash";
rev = "v${version}";
sha256 = "sha256-+2ncK1ibtQwlBREw4Yiqj4vFvAcZqjkoTBtBdAAUoRg=";
};
cargoSha256 = "sha256-tt9jfcoEw/HQ0/qU4lhbqKtIw/lthDTcyf/3HYQNPEY=";
meta = with lib; {
description = "An bl602 serial flasher written in Rust";
homepage = "https://github.com/spacemeowx2/blflash";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ _0x4A6F ];
};
}