2016-11-07 13:19:02 +00:00
|
|
|
{ stdenv, fetchgit, graphviz, gtk2, gtkmm2, pkgconfig, python }:
|
2014-03-09 17:20:45 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-07 13:19:02 +00:00
|
|
|
name = "ganv-unstable-${rev}";
|
|
|
|
rev = "2016-10-15";
|
2014-03-09 17:20:45 +00:00
|
|
|
|
2016-11-07 13:19:02 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "http://git.drobilla.net/cgit.cgi/ganv.git";
|
|
|
|
rev = "31685d283e9b811b61014f820c42807f4effa071";
|
|
|
|
sha256 = "0xmbykdl42jn9cgzrqrys5lng67d26nk5xq10wkkvjqldiwdck56";
|
2014-03-09 17:20:45 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ graphviz gtk2 gtkmm2 python ];
|
2014-03-09 17:20:45 +00:00
|
|
|
|
2016-11-07 13:19:02 +00:00
|
|
|
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
2014-03-09 17:20:45 +00:00
|
|
|
|
2016-11-07 13:19:02 +00:00
|
|
|
buildPhase = "${python.interpreter} waf";
|
2014-03-09 17:20:45 +00:00
|
|
|
|
2016-11-07 13:19:02 +00:00
|
|
|
installPhase = "${python.interpreter} waf install";
|
2014-03-09 17:20:45 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An interactive Gtk canvas widget for graph-based interfaces";
|
|
|
|
homepage = http://drobilla.net;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2014-03-09 19:33:35 +00:00
|
|
|
platforms = platforms.linux;
|
2014-03-09 17:20:45 +00:00
|
|
|
};
|
|
|
|
}
|