Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
817 B
Nix
41 lines
817 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
pkg-config,
|
|
dbus,
|
|
udev,
|
|
openssl,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "cargo-v5";
|
|
version = "0.8.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vexide";
|
|
repo = "cargo-v5";
|
|
rev = "9d5f6e014c80838ff2b0cca401bcbd518c1e9274";
|
|
hash = "sha256-bXzJvlhG/IJOu+D1iluJD3wDoiJXWzXYJ+ZUG6xMCeA=";
|
|
};
|
|
|
|
cargoHash = "sha256-nOcwHy+aji1LgR/VBZDRFDgM+b2ScpVE+H3W5HKEM5o=";
|
|
|
|
buildFeatures = [ "full" ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
dbus
|
|
udev
|
|
openssl
|
|
];
|
|
|
|
meta = {
|
|
description = "Cargo tool for working with VEX V5 Rust projects";
|
|
mainProgram = "cargo-v5";
|
|
homepage = "https://github.com/vexide/cargo-v5";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ max-niederman ];
|
|
};
|
|
}
|