mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
26 lines
760 B
Nix
26 lines
760 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gettext, alsa-lib, gtk3, glib, libnotify, libX11, pcre }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pnmixer";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nicklan";
|
|
repo = "pnmixer";
|
|
rev = "v${version}";
|
|
sha256 = "0416pa933ddf4b7ph9zxhk5jppkk7ppcq1aqph6xsrfnka4yb148";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config gettext ];
|
|
|
|
buildInputs = [ alsa-lib gtk3 glib libnotify libX11 pcre ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/nicklan/pnmixer";
|
|
description = "ALSA volume mixer for the system tray";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ campadrenalin romildo ];
|
|
mainProgram = "pnmixer";
|
|
};
|
|
}
|