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 20:26:57 +01:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "blflash";
2023-01-15 15:17:29 +01:00
version = "0.3.5";
2021-02-01 20:26:57 +01:00
src = fetchFromGitHub {
owner = "spacemeowx2";
repo = "blflash";
rev = "v${version}";
2023-01-15 15:17:29 +01:00
sha256 = "sha256-lv5bUbq5AnZVeR8V0A4pamY9ZIQAhLmvZEr+CRMPcj0=";
2021-02-01 20:26:57 +01:00
};
2023-01-15 15:17:29 +01:00
cargoSha256 = "sha256-NRBW2rGrtEmmxONTpCM1D+o5HtnLjp175Sq9+aCp7ZE=";
2021-02-01 20:26:57 +01: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 ];
};
}