summary refs log tree commit diff
path: root/pkgs/development/libraries/audio/raul/default.nix
blob: 94102c385497f58928b7cba8629bb3254e6ed896 (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
28
{ stdenv, fetchgit, boost, gtk2, pkgconfig, python }:

stdenv.mkDerivation rec {
  name = "raul-unstable-${rev}";
  rev = "2016-09-20";

  src = fetchgit {
    url = "http://git.drobilla.net/cgit.cgi/raul.git";
    rev = "f8bf77d3c3b77830aedafb9ebb5cdadfea7ed07a";
    sha256 = "1lby508fb0n8ks6iz959sh18fc37br39d6pbapwvbcw5nckdrxwj";
  };

  buildInputs = [ boost gtk2 pkgconfig python ];

  configurePhase = "${python.interpreter} waf configure --prefix=$out";

  buildPhase = "${python.interpreter} waf";

  installPhase = "${python.interpreter} waf install";

  meta = with stdenv.lib; {
    description = "A C++ utility library primarily aimed at audio/musical applications";
    homepage = http://drobilla.net/software/raul;
    license = licenses.gpl3;
    maintainers = [ maintainers.goibhniu ];
    platforms = platforms.linux;
  };
}