Skip to content

Commit

Permalink
cargo-v5: init at 0.8.2 (#353564)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Nov 7, 2024
2 parents 4d96a68 + 1fd2711 commit 75ba685
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/by-name/ca/cargo-v5/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
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-OQ3XY8RzmjGZWFyTY3HY9AYb8qDHHeEAuWa+3WNOtRM=";

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 ];
};
}

0 comments on commit 75ba685

Please sign in to comment.