summary refs log tree commit diff
path: root/pkgs/applications/audio/mus/default.nix
blob: 1235486ab554ea76c0d96b8a63ec3af437df6138 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, fetchFromSourcehut, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "mus";
  version = "0.2.0";

  src = fetchFromSourcehut {
    owner = "~sfr";
    repo = pname;
    rev = version;
    hash = "sha256-yvMV+lhU9Wtwrhw0RKRUNFNznvZP0zcnT6jqPaqzhUs=";
  };

  cargoHash = "sha256-K9B8y9pOHcAOrUCmCB0zW2wy81DTF3K97gPYmAiKwAM=";

  meta = with lib; {
    description = "a pretty good mpd client";
    homepage = "https://sr.ht/~sfr/mus";
    license = licenses.mit;
    maintainers = with maintainers; [ sfr ];
    mainProgram = "mus";
  };
}