nix-config/packages/rmpc.nix
Donovan Glover 3f10f44bb9
Revert "chore: Update to latest nixos-unstable release"
pass and qutebrowser depend on pykeepass and I'd rather not remove them
at this time. See: https://github.com/NixOS/nixpkgs/pull/331310
2024-08-01 13:45:44 -04:00

38 lines
847 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, cmake
}:
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=";
cargoPatches = [
../assets/rmpc-support-older-rustc.patch
];
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";
};
}