mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 04:28:40 +03:00
waybar-mpris: init at unstable-2022-01-27
This commit is contained in:
parent
6b4e45787b
commit
871f4846bd
33
pkgs/by-name/wa/waybar-mpris/package.nix
Normal file
33
pkgs/by-name/wa/waybar-mpris/package.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, fetchgit
|
||||
, buildGoModule
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
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=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
CGO_LDFLAGS = "-s -w";
|
||||
|
||||
GOFLAGS = "-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A 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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user