Skip to content

Commit 5e3c7b0

Browse files
committed
cargo-embassy: init at 0.3.4
1 parent 51037fd commit 5e3c7b0

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchFromGitHub,
5+
pkg-config,
6+
udev,
7+
}:
8+
rustPlatform.buildRustPackage {
9+
pname = "cargo-embassy";
10+
version = "0.3.4";
11+
12+
src = fetchFromGitHub {
13+
owner = "adinack";
14+
repo = "cargo-embassy";
15+
# 0.3.4 with cargo.lock. Switch back
16+
# to tag = when next version released
17+
rev = "989a406387ebda89acd943c57e207d78eba600c1";
18+
hash = "sha256-C8eFQFHYIj2P+zPOKLVBNX97UDVbbcdjbqh5n53ktCU=";
19+
};
20+
21+
buildInputs = [
22+
udev
23+
];
24+
25+
nativeBuildInputs = [
26+
pkg-config
27+
];
28+
29+
cargoHash = "sha256-iLGoc6CKZGlq9bw1sL0jCVm9lGa0i/BXiseU1USGjfQ=";
30+
useFetchCargoVendor = true;
31+
32+
meta = {
33+
description = "Command line tool for creating Embassy projects";
34+
homepage = "https://github.com/adinack/cargo-embassy";
35+
license = lib.licenses.gpl3Only;
36+
maintainers = [ lib.maintainers.samw ];
37+
mainProgram = "cargo-embassy";
38+
};
39+
}

0 commit comments

Comments
 (0)