lol
1{ stdenv, fetchgit, graphviz, gtk2, gtkmm2, pkgconfig, python }:
2
3stdenv.mkDerivation rec {
4 name = "ganv-unstable-${rev}";
5 rev = "2016-10-15";
6
7 src = fetchgit {
8 url = "http://git.drobilla.net/cgit.cgi/ganv.git";
9 rev = "31685d283e9b811b61014f820c42807f4effa071";
10 sha256 = "0xmbykdl42jn9cgzrqrys5lng67d26nk5xq10wkkvjqldiwdck56";
11 };
12
13 nativeBuildInputs = [ pkgconfig ];
14 buildInputs = [ graphviz gtk2 gtkmm2 python ];
15
16 configurePhase = "${python.interpreter} waf configure --prefix=$out";
17
18 buildPhase = "${python.interpreter} waf";
19
20 installPhase = "${python.interpreter} waf install";
21
22 meta = with stdenv.lib; {
23 description = "An interactive Gtk canvas widget for graph-based interfaces";
24 homepage = http://drobilla.net;
25 license = licenses.gpl3;
26 maintainers = [ maintainers.goibhniu ];
27 platforms = platforms.linux;
28 };
29}