nixpkgs/pkgs/tools/misc/blflash/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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";
2021-05-19 03:53:18 +01:00
version = "0.3.3";
2021-02-01 19:26:57 +00:00
src = fetchFromGitHub {
owner = "spacemeowx2";
repo = "blflash";
rev = "v${version}";
2021-05-19 03:53:18 +01:00
sha256 = "sha256-hPScmivtugtZm848Itzg4Tb9rppZny+rKi3IBuUxxQY=";
2021-02-01 19:26:57 +00:00
};
2021-05-19 03:53:18 +01:00
cargoSha256 = "sha256-/y3R8B2TOf8jeB9tcewoA9EGN6kj/EPMTjU6rfTF5Vc=";
2021-02-01 19:26:57 +00:00
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 ];
};
}