summary refs log tree commit diff
path: root/pkgs/applications/audio/ponymix/default.nix
blob: cbc516fb288d91a5e45d8fbd96649e0f1dd06a5b (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 = "5";
  src = fetchurl {
    url = "http://code.falconindy.com/archive/ponymix/${name}.tar.xz";
    sha256 = "0qn2kms9h9b7da2xzkdgzrykhhdywr4psxnz03j8rg7wa9nwfw0x";
  };

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