about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/mus/default.nix
blob: 402b0b70c1edbd9eda6149f9cff7bc7080cf3013 (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
24
25
26
27
28
{ lib, fetchFromSourcehut, rustPlatform }:

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

  src = fetchFromSourcehut {
    owner = "~sfr";
    repo = pname;
    rev = version;
    hash = "sha256-s7rizOieOmzK0Stkk1SWe9h/5DoaH6MMmL/5QFeezt0=";
  };

  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "mpd-0.1.0" = "sha256-5UC6aFNJU9B5AlgJ7uPO+W7e2MHpvTu2OpktjiIXMfc=";
    };
  };

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