Merge pull request #199793 from marsam/update-gurk

gurk-rs: 0.2.5 -> 0.3.0
This commit is contained in:
Mario Rodas 2022-11-06 09:51:34 -05:00 committed by GitHub
commit 4fb1df25be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 6 deletions

View File

@ -3,30 +3,35 @@
, protobuf
, rustPlatform
, fetchFromGitHub
, Cocoa
}:
rustPlatform.buildRustPackage rec {
pname = "gurk-rs";
version = "0.2.5";
version = "0.3.0";
src = fetchFromGitHub {
owner = "boxdot";
repo = pname;
rev = "v${version}";
sha256 = "sha256-CEsnZ0V85eOH+bjtico5yo9kS6eMT7Dx3H6wiDUjQm4=";
sha256 = "sha256-uJvi082HkWW9y8jwHTvzuzBAi7uVtjq/4U0bO0EWdVM=";
};
postPatch = ''
rm .cargo/config.toml
'';
cargoHash = "sha256-z+2G/hD1zYOoJrYFB0eEP6y9MoV2OfdkJVt6je94EkU=";
buildInputs = [ protobuf ];
cargoHash = "sha256-jS6wAswGqgfmpPV6qERhqn1IhpcBSDNh8HDdPo04F0A=";
nativeBuildInputs = [ protobuf ];
buildInputs = lib.optionals stdenv.isDarwin [ Cocoa ];
NIX_LDFLAGS = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ "-framework" "AppKit" ];
PROTOC = "${protobuf}/bin/protoc";
meta = with lib; {
broken = stdenv.isDarwin;
description = "Signal Messenger client for terminal";
homepage = "https://github.com/boxdot/gurk-rs";
license = licenses.agpl3Only;

View File

@ -28500,7 +28500,9 @@ with pkgs;
fftw = fftwSinglePrec;
};
gurk-rs = callPackage ../applications/networking/instant-messengers/gurk-rs { };
gurk-rs = callPackage ../applications/networking/instant-messengers/gurk-rs {
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
gjay = callPackage ../applications/audio/gjay { };