summary refs log tree commit diff
path: root/pkgs/development/libraries/ganv/default.nix
blob: eef89e9cff63c7df19ec0a47c1ff0fd4bfd6389b (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, fetchsvn, graphviz, gtk, gtkmm, pkgconfig, python }:

stdenv.mkDerivation rec {
  name = "ganv-svn-${rev}";
  rev = "5675";

  src = fetchsvn {
    url = "http://svn.drobilla.net/lad/trunk/ganv";
    rev = rev;
    sha256 = "0klzng3jvc09lj4hxnzlb8z5s5qp8rj16b1x1j6hcbqdja54fccj";
  };

  buildInputs = [ graphviz gtk gtkmm pkgconfig python ];

  configurePhase = "python waf configure --prefix=$out";

  buildPhase = "python waf";

  installPhase = "python waf install";

  meta = with stdenv.lib; {
    description = "An interactive Gtk canvas widget for graph-based interfaces";
    homepage = http://drobilla.net;
    license = licenses.gpl3;
    maintainers = [ maintainers.goibhniu ];
    platforms = platforms.linux;
  };
}