diff options
Diffstat (limited to 'pkgs/by-name/mu/mus/package.nix')
-rw-r--r-- | pkgs/by-name/mu/mus/package.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/by-name/mu/mus/package.nix b/pkgs/by-name/mu/mus/package.nix new file mode 100644 index 000000000000..c1abc1666ab2 --- /dev/null +++ b/pkgs/by-name/mu/mus/package.nix @@ -0,0 +1,23 @@ +{ 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"; + }; +} |