3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/audio/yabridgectl/default.nix
Kira Bruneau fd96e5ae46 yabridge, yabridgectl: 3.0.0 -> 3.0.1
Also replaces hashes with SRI hashes
2021-02-26 12:25:06 -05:00

27 lines
851 B
Nix

{ lib, rustPlatform, yabridge }:
rustPlatform.buildRustPackage rec {
pname = "yabridgectl";
version = yabridge.version;
src = yabridge.src;
sourceRoot = "source/tools/yabridgectl";
cargoHash = "sha256-YSK1DWv9kb6kFUJ4UEhh6psKsVqwpFJjvjJgj2e4BAc=";
patches = [
# By default, yabridgectl locates libyabridge.so by using
# hard-coded distro-specific lib paths. This patch replaces those
# hard coded paths with lib paths from NIX_PROFILE.
./libyabridge-from-nix-profiles.patch
];
patchFlags = [ "-p3" ];
meta = with lib; {
description = "A small, optional utility to help set up and update yabridge for several directories at once";
homepage = "https://github.com/robbert-vdh/yabridge/tree/master/tools/yabridgectl";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ metadark ];
};
}