summary refs log tree commit diff
path: root/pkgs/applications/audio/ponymix/default.nix
blob: 0b5947e16f40dca84c1a6ad9cb85092b8b7e2cb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, libpulseaudio, libnotify, pkgconfig }:

stdenv.mkDerivation rec {
  name = "ponymix-${version}";
  version = "4";
  src = fetchurl {
    url = "http://code.falconindy.com/archive/ponymix/${name}.tar.xz";
    sha256 = "008pk3sqc8955k2f502z1syzv43a4q0yk5ws69lgpqfsy1mzki2d";
  };

  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";
  };
}