summary refs log tree commit diff
path: root/pkgs/applications/audio/jack-oscrolloscope/default.nix
blob: d31bc981e0cbf93b03a7ff4750f58365976a2661 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, SDL, libjack2, libGLU_combined, pkgconfig }:

stdenv.mkDerivation rec {
  pname = "jack_oscrolloscope";
  version = "0.7";

  src = fetchurl {
    url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
    sha256 = "1pl55in0sj7h5r06n1v91im7d18pplvhbjhjm1fdl39zwnyxiash";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ SDL libjack2 libGLU_combined ];

  installPhase = ''
    mkdir -p $out/bin
    mv jack_oscrolloscope $out/bin/
  '';

  meta = with stdenv.lib; { 
    description = "A simple waveform viewer for JACK";
    homepage = http://das.nasophon.de/jack_oscrolloscope;
    license = licenses.gpl2;
    maintainers = [ maintainers.goibhniu ];
    platforms = stdenv.lib.platforms.linux;
  };
}