about summary refs log tree commit diff
path: root/pkgs/development/libraries/audio/raul/default.nix
blob: b0b0c6bc59af0ef8b8f22d5ee4f3c1fbd977bcc5 (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
29
{ 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";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ boost gtk2 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;
  };
}