nixpkgs/pkgs/by-name/mu/mus/package.nix
aoife cassidy 7071bf24d4
mus: change upstream src; migrate to by-name
~sfr -> ~nbsp; author (me) changed usernames
2023-11-28 23:27:35 +02:00

24 lines
563 B
Nix

{ lib, fetchFromSourcehut, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "mus";
version = "0.2.0";
src = fetchFromSourcehut {
owner = "~nbsp";
repo = pname;
rev = version;
hash = "sha256-yvMV+lhU9Wtwrhw0RKRUNFNznvZP0zcnT6jqPaqzhUs=";
};
cargoHash = "sha256-K9B8y9pOHcAOrUCmCB0zW2wy81DTF3K97gPYmAiKwAM=";
meta = with lib; {
description = "a pretty good mpd client";
homepage = "https://sr.ht/~nbsp/mus";
license = licenses.mit;
maintainers = with maintainers; [ nbsp ];
mainProgram = "mus";
};
}