mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
531e4b80c9
Only acts on one-line dependency lists.
30 lines
869 B
Nix
30 lines
869 B
Nix
{ stdenv, fetchgit, graphviz, gtk2, gtkmm2, pkgconfig, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ganv-unstable-${rev}";
|
|
rev = "2016-10-15";
|
|
|
|
src = fetchgit {
|
|
url = "http://git.drobilla.net/cgit.cgi/ganv.git";
|
|
rev = "31685d283e9b811b61014f820c42807f4effa071";
|
|
sha256 = "0xmbykdl42jn9cgzrqrys5lng67d26nk5xq10wkkvjqldiwdck56";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ graphviz gtk2 gtkmm2 python ];
|
|
|
|
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
|
|
|
buildPhase = "${python.interpreter} waf";
|
|
|
|
installPhase = "${python.interpreter} 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;
|
|
};
|
|
}
|