nixpkgs/pkgs/applications/audio/ponymix/default.nix

27 lines
735 B
Nix
Raw Normal View History

2016-10-07 08:18:34 +02:00
{ stdenv, fetchFromGitHub, libpulseaudio, libnotify, pkgconfig }:
2015-07-27 18:52:53 +02:00
stdenv.mkDerivation rec {
name = "ponymix-${version}";
2016-07-23 15:19:26 +02:00
version = "5";
2016-10-07 08:18:34 +02:00
src = fetchFromGitHub {
owner = "falconindy";
repo = "ponymix";
rev = version;
sha256 = "08yp7fprmzm6px5yx2rvzri0l60bra5h59l26pn0k071a37ks1rb";
2015-07-27 18:52:53 +02:00
};
buildInputs = [ libpulseaudio libnotify ];
nativeBuildInputs = [ pkgconfig ];
postPatch = ''substituteInPlace Makefile --replace "\$(DESTDIR)/usr" "$out"'';
2016-10-07 08:18:34 +02:00
meta = with stdenv.lib; {
2015-07-27 18:52:53 +02:00
description = "CLI PulseAudio Volume Control";
homepage = "http://github.com/falconindy/ponymix";
2016-10-07 08:18:34 +02:00
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ ericsagnes ];
2015-07-27 18:52:53 +02:00
};
}