Skip to content

Commit 4ef763b

Browse files
committed
nix: add wchisp package
1 parent 5ef76fa commit 4ef763b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

nix/pkgs/wchisp/default.nix

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{ lib, fetchFromGitHub, rustPlatform }:
2+
3+
rustPlatform.buildRustPackage rec {
4+
pname = "wchisp";
5+
version = "0.3-git";
6+
src = fetchFromGitHub {
7+
owner = "ch32-rs";
8+
repo = pname;
9+
rev = "4b4787243ef9bc87cbbb0d95c7482b4f7c9838f1";
10+
hash = "sha256-Ju2DBv3R4O48o8Fk/AFXOBIsvGMK9hJ8Ogxk47f7gcU=";
11+
};
12+
cargoHash = "sha256-MbCLQBk7aJXcUOalsNbSxozvI2Tx3kerLXgi4l7BKoc=";
13+
}

0 commit comments

Comments
 (0)