2015-07-27 18:52:53 +02:00
|
|
|
{ stdenv, fetchurl, libpulseaudio, libnotify, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ponymix-${version}";
|
2016-07-23 15:19:26 +02:00
|
|
|
version = "5";
|
2015-07-27 18:52:53 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://code.falconindy.com/archive/ponymix/${name}.tar.xz";
|
2016-07-23 15:19:26 +02:00
|
|
|
sha256 = "0qn2kms9h9b7da2xzkdgzrykhhdywr4psxnz03j8rg7wa9nwfw0x";
|
2015-07-27 18:52:53 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpulseaudio libnotify ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
postPatch = ''substituteInPlace Makefile --replace "\$(DESTDIR)/usr" "$out"'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "CLI PulseAudio Volume Control";
|
|
|
|
homepage = "http://github.com/falconindy/ponymix";
|
|
|
|
license = "mit";
|
|
|
|
};
|
|
|
|
}
|