Skip to content

Commit

Permalink
yabridge, yabridgectl: 3.1.0 → 3.2.0 (#121715)
Browse files Browse the repository at this point in the history
  • Loading branch information
kira-bruneau committed May 28, 2021
1 parent acf1713 commit 00a4be2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
17 changes: 4 additions & 13 deletions pkgs/tools/audio/yabridge/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, substituteAll
, meson
, ninja
Expand Down Expand Up @@ -58,14 +57,14 @@ let
};
in stdenv.mkDerivation rec {
pname = "yabridge";
version = "3.1.0";
version = "3.2.0";

# NOTE: Also update yabridgectl's cargoHash when this is updated
src = fetchFromGitHub {
owner = "robbert-vdh";
repo = pname;
rev = version;
hash = "sha256-xvKjb+ql3WxnGHqcn3WnxunY5+s9f8Gt/n6EFSBrNdI=";
hash = "sha256-UT6st0Rc6HOaObE3N+qlPZZ8U1gl/MFLU0mjFuScdes=";
};

# Unpack subproject sources
Expand All @@ -80,16 +79,6 @@ in stdenv.mkDerivation rec {
)'';

patches = [
# Fix printing wine version when using absolute path (remove patches in next release):
(fetchpatch {
url = "https://github.com/robbert-vdh/yabridge/commit/2aadf5256b3eafeb86efa8626247972dd33baa13.patch";
sha256 = "sha256-Nq9TQJxa22vJLmf+USyPBkF8cKyEzb1Lp2Rx86pDxnY=";
})
(fetchpatch {
url = "https://github.com/robbert-vdh/yabridge/commit/93df3fa1da6ffcc69a5b384ba04e3da7c5ef23ef.patch";
sha256 = "sha256-//8Dxolqe6n+aFo4yVnnMR9kSq/iEFE0qZPvcIBehvI=";
})

# Hard code wine path so wine version is correct in logs
(substituteAll {
src = ./hardcode-wine.patch;
Expand Down Expand Up @@ -130,11 +119,13 @@ in stdenv.mkDerivation rec {
];

installPhase = ''
runHook preInstall
mkdir -p "$out/bin" "$out/lib"
cp yabridge-group.exe{,.so} "$out/bin"
cp yabridge-host.exe{,.so} "$out/bin"
cp libyabridge-vst2.so "$out/lib"
cp libyabridge-vst3.so "$out/lib"
runHook postInstall
'';

# Hard code wine path in wrapper scripts generated by winegcc
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/audio/yabridgectl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {

src = yabridge.src;
sourceRoot = "source/tools/yabridgectl";
cargoHash = "sha256-TcjFaDo5IUs6Z3tgb+6jqyyrB2BLcif6Ycw++5FzuDY=";
cargoHash = "sha256-cB4Xp8pNLQRcPQ6HtVkDkLbfNSmM9yl+oRcEzcqrmkY=";

patches = [
# By default, yabridgectl locates libyabridge.so by using
Expand Down

0 comments on commit 00a4be2

Please sign in to comment.