nixpkgs/pkgs/tools/audio/pnmixer/default.nix

26 lines
731 B
Nix
Raw Normal View History

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