mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
[Backport release-24.11] cargo-embassy: init at 0.3.4 (#396381)
This commit is contained in:
39
pkgs/by-name/ca/cargo-embassy/package.nix
Normal file
39
pkgs/by-name/ca/cargo-embassy/package.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
udev,
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "cargo-embassy";
|
||||
version = "0.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "adinack";
|
||||
repo = "cargo-embassy";
|
||||
# 0.3.4 with cargo.lock. Switch back
|
||||
# to tag = when next version released
|
||||
rev = "989a406387ebda89acd943c57e207d78eba600c1";
|
||||
hash = "sha256-C8eFQFHYIj2P+zPOKLVBNX97UDVbbcdjbqh5n53ktCU=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
udev
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
cargoHash = "sha256-iLGoc6CKZGlq9bw1sL0jCVm9lGa0i/BXiseU1USGjfQ=";
|
||||
useFetchCargoVendor = true;
|
||||
|
||||
meta = {
|
||||
description = "Command line tool for creating Embassy projects";
|
||||
homepage = "https://github.com/adinack/cargo-embassy";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = [ lib.maintainers.samw ];
|
||||
mainProgram = "cargo-embassy";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user