mprisence: init at 1.2.4 (#432838)
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
dbus,
|
||||
openssl,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "mprisence";
|
||||
version = "1.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lazykern";
|
||||
repo = "mprisence";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-eUUUHjR6wnbaPb1QD9luEVvu5qSAxG5c4TuMjnzRV40=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-BnzDMvwqQ56VFc7AuzsfyZ002qcmRaAOMfipynZ1/Mc=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
dbus
|
||||
openssl
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Highly customizable Discord Rich Presence for MPRIS media players on Linux";
|
||||
homepage = "https://github.com/lazykern/mprisence";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ toasteruwu ];
|
||||
sourceProvenance = with sourceTypes; [ fromSource ];
|
||||
mainProgram = "mprisence";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user