Merge pull request #115796 from MetaDark/yabridge

yabridge, yabridgectl: 3.0.1 -> 3.0.2
This commit is contained in:
Sandro 2021-03-10 20:09:48 +01:00 committed by GitHub
commit 9932732191
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -56,14 +56,14 @@ let
};
in stdenv.mkDerivation rec {
pname = "yabridge";
version = "3.0.1";
version = "3.0.2";
# NOTE: Also update yabridgectl's cargoSha256 when this is updated
# NOTE: Also update yabridgectl's cargoHash when this is updated
src = fetchFromGitHub {
owner = "robbert-vdh";
repo = pname;
rev = version;
hash = "sha256-BT8Qj8WvyRlBwSuIIlfWVhlG3RSv2sFnSskCcjPF/N0=";
hash = "sha256-3uZCYGqo9acpANy5tQl3U0LK6wuOzjQpfjHDvaPSGlI=";
};
# Unpack subproject sources

View file

@ -6,12 +6,12 @@ rustPlatform.buildRustPackage rec {
src = yabridge.src;
sourceRoot = "source/tools/yabridgectl";
cargoHash = "sha256-YSK1DWv9kb6kFUJ4UEhh6psKsVqwpFJjvjJgj2e4BAc=";
cargoHash = "sha256-mSp/IH7ZB7YSOBCFwNtHLYDz7CvWo2sO9VuPdqpl/u0=";
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.
# hard coded distro specific lib paths. This patch replaces those
# hard coded paths with lib paths from NIX_PROFILES.
./libyabridge-from-nix-profiles.patch
];