cargo-vibe: init at unstable 2022-12-29
This commit is contained in:
parent
8cfef6986a
commit
fac1c2e8d1
1 changed files with 40 additions and 0 deletions
40
pkgs/by-name/ca/cargo-vibe/package.nix
Normal file
40
pkgs/by-name/ca/cargo-vibe/package.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, dbus
|
||||
, udev
|
||||
, openssl
|
||||
, darwin
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-vibe";
|
||||
version = "unstable-2022-12-29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Shadlock0133";
|
||||
repo = pname;
|
||||
rev = "a54d87b080ff7d8b3207f83f8f434b226572f0fe";
|
||||
hash = "sha256-0IwxbMcRH+6WgrzpcU5zfRuKs80XY0mDBjDE9DBnOFk=";
|
||||
};
|
||||
cargoHash = "sha256-mvFp1yPHl+2K2K44G3KAmvPYsalN25kkE3V/2eq2iqs=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus
|
||||
openssl
|
||||
]
|
||||
++ lib.optional stdenv.isLinux udev
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AppKit IOKit CoreBluetooth ]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cargo x Buttplug.io";
|
||||
homepage = "https://github.com/shadlock0133/cargo-vibe";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ _999eagle ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue