summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/mp/mpris-notifier/package.nix
blob: 71f8d872e2f5b898f30ee4c9798bec157442a854 (plain)
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
{
  lib,
  rustPlatform,
  fetchFromGitHub,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "mpris-notifier";
  version = "0.2.1";

  src = fetchFromGitHub {
    owner = "l1na-forever";
    repo = "mpris-notifier";
    rev = "v${finalAttrs.version}";
    hash = "sha256-JDABuxINYxpxxDPSIdN+GeHU8FqBS6m4dsPDTxRc1Zw=";
  };

  cargoHash = "sha256-lM3co7akhLoFarprbnqladSzK+OkysduEe6uXpAoCwU=";

  meta = {
    description = "Dependency-light, highly-customizable, XDG desktop notification generator for MPRIS status changes";
    homepage = "https://github.com/l1na-forever/mpris-notifier";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ leixb ];
    mainProgram = "mpris-notifier";
  };
})