File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
pkgs/by-name/ca/cargo-embassy Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments