3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/gurk-rs/default.nix
2022-02-18 15:15:52 +00:00

31 lines
666 B
Nix

{ stdenv
, lib
, protobuf
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "gurk-rs";
version = "0.2.3";
src = fetchFromGitHub {
owner = "boxdot";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Mko5udM8BY50uUwn7xESxB+s0MEO1kAJX4Dt/DnEEa4=";
};
cargoHash = "sha256-pYMMgBvLsqkj2peouDQK1vn97ByUjtdCrkbzuZZLXrY=";
buildInputs = [ protobuf ];
PROTOC = "${protobuf}/bin/protoc";
meta = with lib; {
description = "Signal Messenger client for terminal";
homepage = "https://github.com/boxdot/gurk-rs";
license = licenses.agpl3Only;
maintainers = with maintainers; [ devhell ];
};
}