about summary refs log tree commit diff
path: root/pkgs/by-name/mu/mus/package.nix
blob: 0273e443b95af9900749e88f75158a212e95730a (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 = "~nbsp";
    repo = pname;
    rev = version;
    hash = "sha256-yvMV+lhU9Wtwrhw0RKRUNFNznvZP0zcnT6jqPaqzhUs=";
  };

  cargoHash = "sha256-K9B8y9pOHcAOrUCmCB0zW2wy81DTF3K97gPYmAiKwAM=";

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