2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libpulseaudio, libnotify, pkg-config }:
|
2015-07-27 17:52:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ponymix";
|
2016-07-23 14:19:26 +01:00
|
|
|
version = "5";
|
2016-10-07 07:18:34 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "falconindy";
|
|
|
|
repo = "ponymix";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "08yp7fprmzm6px5yx2rvzri0l60bra5h59l26pn0k071a37ks1rb";
|
2015-07-27 17:52:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpulseaudio libnotify ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-07-27 17:52:53 +01:00
|
|
|
|
|
|
|
postPatch = ''substituteInPlace Makefile --replace "\$(DESTDIR)/usr" "$out"'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-07-27 17:52:53 +01:00
|
|
|
description = "CLI PulseAudio Volume Control";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/falconindy/ponymix";
|
2016-10-07 07:18:34 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ericsagnes ];
|
2015-07-27 17:52:53 +01:00
|
|
|
};
|
|
|
|
}
|