2024-08-03 19:41:16 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pkg-config,
|
|
|
|
cmake,
|
2024-08-01 19:45:44 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
pname = "rmpc";
|
|
|
|
version = "0.2.1-unstable-2024-07-27";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mierak";
|
|
|
|
repo = "rmpc";
|
|
|
|
rev = "f12be6f606f5319523f41576e7c463b6008b9069";
|
|
|
|
hash = "sha256-mKTl2sZdrkecd9fMBllHC0YiVHK8rUdoRmN2YF4T9O0=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoHash = "sha256-/00WGuuxtwtpNuEEeapJhVedbg3RMUtTEQbYYu518po=";
|
|
|
|
|
2024-08-03 19:41:16 +02:00
|
|
|
cargoPatches = [ ../assets/rmpc-support-older-rustc.patch ];
|
2024-08-01 19:45:44 +02:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Configurable, terminal-based media player client with album art support via kitty image protocol";
|
|
|
|
homepage = "https://github.com/mierak/rmpc";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ donovanglover ];
|
|
|
|
mainProgram = "rmpc";
|
|
|
|
};
|
|
|
|
}
|