nixpkgs/pkgs/by-name/wa/waybar-mpris/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

34 lines
815 B
Nix

{ lib
, fetchgit
, buildGoModule
, unstableGitUpdater
}:
buildGoModule {
pname = "waybar-mpris";
version = "unstable-2022-01-27";
src = fetchgit {
url = "https://git.hrfee.pw/hrfee/waybar-mpris";
rev = "485ec0ec0af80a0d63c10e94aebfc59b16aab46b";
hash = "sha256-BjLxWnDNsR2ZnNklNiKzi1DeoPpaZsRdKbVSwNwYhJ4=";
};
vendorHash = "sha256-85jFSAOfNMihv710LtfETmkKRqcdRuFCHVuPkW94X/Y=";
ldflags = [
"-s"
"-w"
];
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "Waybar component/utility for displaying and controlling MPRIS2 compliant media players individually";
homepage = "https://git.hrfee.pw/hrfee/waybar-mpris";
license = licenses.mit;
mainProgram = "waybar-mpris";
maintainers = with maintainers; [ khaneliman ];
};
}