2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gettext, alsaLib, gtk3, glib, libnotify, libX11, pcre }:
|
2014-08-24 02:47:29 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pnmixer";
|
2018-01-02 18:29:16 +00:00
|
|
|
version = "0.7.2";
|
2014-08-24 02:47:29 +01:00
|
|
|
|
2016-04-30 00:11:15 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nicklan";
|
|
|
|
repo = "pnmixer";
|
2016-09-19 10:42:23 +01:00
|
|
|
rev = "v${version}";
|
2018-01-02 18:29:16 +00:00
|
|
|
sha256 = "0416pa933ddf4b7ph9zxhk5jppkk7ppcq1aqph6xsrfnka4yb148";
|
2014-08-24 02:47:29 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config gettext ];
|
2016-04-30 00:11:15 +01:00
|
|
|
|
2018-01-02 18:29:16 +00:00
|
|
|
buildInputs = [ alsaLib gtk3 glib libnotify libX11 pcre ];
|
2014-08-24 02:47:29 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/nicklan/pnmixer";
|
2017-05-26 12:51:26 +01:00
|
|
|
description = "ALSA volume mixer for the system tray";
|
2014-08-24 02:47:29 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2016-09-19 10:42:23 +01:00
|
|
|
maintainers = with maintainers; [ campadrenalin romildo ];
|
2014-08-24 02:47:29 +01:00
|
|
|
};
|
|
|
|
}
|