diff options
author | 0x4A6F <0x4A6F@users.noreply.github.com> | 2021-02-01 19:26:57 +0000 |
---|---|---|
committer | 0x4A6F <0x4A6F@users.noreply.github.com> | 2021-02-22 22:47:26 +0000 |
commit | 25b39e3fc7dab3a3da33e3c3e04cefb12b718178 (patch) | |
tree | dc09e8c7ffaa714ca10a9574457e30f43bf578f6 /pkgs | |
parent | bbc0f1cbb31ae4c60996063d0db8a9bd1f86e602 (diff) |
blflash: init at 0.3.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/misc/blflash/default.nix | 22 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/blflash/default.nix b/pkgs/tools/misc/blflash/default.nix new file mode 100644 index 0000000000000..bf09fc8d0a7cc --- /dev/null +++ b/pkgs/tools/misc/blflash/default.nix @@ -0,0 +1,22 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 375fa0bdf6e31..3035c2ab6ceed 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21188,6 +21188,8 @@ in inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics ForceFeedback OpenAL OpenGL; }; + blflash = callPackage ../tools/misc/blflash { }; + blogc = callPackage ../applications/misc/blogc { }; bluefish = callPackage ../applications/editors/bluefish { |