Merge pull request #177941 from Kranzes/mpd-discord

mpd-discord-rpc: 1.4.1 -> 1.5.1
This commit is contained in:
Sandro 2022-06-17 01:10:21 +02:00 committed by GitHub
commit 1829c5b002
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,20 +2,26 @@
, lib , lib
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config
, openssl
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "mpd-discord-rpc"; pname = "mpd-discord-rpc";
version = "1.4.1"; version = "1.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "JakeStanger"; owner = "JakeStanger";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-CdgR9G598LmxA9lhY6yppP3ZZUhTqgMcWccEhSuCcJQ="; sha256 = "sha256-jwsfUepGJ7IB1H6Er1EszYkkYIOSyuFvTX7NF9UhhGo=";
}; };
cargoSha256 = "sha256-WhlVWQCUGP+K9md0yp6ZD6mGYMso1fUYKDuXXrC2FeI="; cargoSha256 = "sha256-4MUfjXWDZmfsUzvWo8I2fgzm4jOfX1ZgHYqUmxXJ/BU=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin; broken = stdenv.isDarwin;