Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

treewide: use wafHook

Replace "waf" phases with wafHook that manages everything
automatically. Should make things more modular.

Packages affected here are:

- a2jmidid
- ams-lv2
- ardour
- fomp
- guitarix
- ingen
- jalv
- mda-lv2
- non
- patchage
- hamster-time-tracker
- kupfer
- xiphos
- xfce4-dockbarx-plugin
- xfce4-namebar-plugin
- dropbox
- clasp
- aubio
- liliv
- lv2
- lvtk
- ntk
- raul
- sratom
- suil
- ganv
- ndn-cxx
- ns3
- serd
- sord
- termbox
- wxmupen64plus
- jackaudio
- pflask
- blockhash
- glmark2
- weighttp

+127 -367
+3 -7
pkgs/applications/audio/a2jmidid/default.nix
··· 1 1 { stdenv, fetchurl, makeWrapper, pkgconfig, alsaLib, dbus, libjack2 2 + , wafHook 2 3 , python2Packages}: 3 4 4 5 let ··· 12 13 sha256 = "06dgf5655znbvrd7fhrv8msv6zw8vk0hjqglcqkh90960mnnmwz7"; 13 14 }; 14 15 15 - nativeBuildInputs = [ pkgconfig ]; 16 + nativeBuildInputs = [ pkgconfig wafHook ]; 16 17 buildInputs = [ makeWrapper alsaLib dbus libjack2 python dbus-python ]; 17 18 18 - configurePhase = "${python.interpreter} waf configure --prefix=$out"; 19 - 20 - buildPhase = "${python.interpreter} waf"; 21 - 22 - installPhase = '' 23 - ${python.interpreter} waf install 19 + postInstall = '' 24 20 wrapProgram $out/bin/a2j_control --set PYTHONPATH $PYTHONPATH 25 21 ''; 26 22
+3 -8
pkgs/applications/audio/ams-lv2/default.nix
··· 1 - { stdenv, fetchFromGitHub, cairo, fftw, gtkmm2, lv2, lvtk, pkgconfig, python3 }: 1 + { stdenv, fetchFromGitHub, cairo, fftw, gtkmm2, lv2, lvtk, pkgconfig, python3 2 + , wafHook }: 2 3 3 4 stdenv.mkDerivation rec { 4 5 name = "ams-lv2-${version}"; ··· 11 12 sha256 = "1n1dnqnj24xhiy9323lj52nswr5120cj56fpckg802miss05sr6x"; 12 13 }; 13 14 14 - nativeBuildInputs = [ pkgconfig ]; 15 + nativeBuildInputs = [ pkgconfig wafHook ]; 15 16 buildInputs = [ cairo fftw gtkmm2 lv2 lvtk ]; 16 - 17 - configurePhase = "${python3.interpreter} waf configure --prefix=$out"; 18 - 19 - buildPhase = "${python3.interpreter} waf"; 20 - 21 - installPhase = "${python3.interpreter} waf install"; 22 17 23 18 meta = with stdenv.lib; { 24 19 description = "An LV2 port of the internal modules found in Alsa Modular Synth";
+9 -7
pkgs/applications/audio/ardour/default.nix
··· 4 4 , librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile 5 5 , libusb, libuuid, libxml2, libxslt, lilv, lv2, makeWrapper 6 6 , perl, pkgconfig, python2, rubberband, serd, sord, sratom 7 - , taglib, vampSDK, dbus, fftw, pango, suil, libarchive }: 7 + , taglib, vampSDK, dbus, fftw, pango, suil, libarchive 8 + , wafHook }: 8 9 9 10 let 10 11 ··· 29 30 sha256 = "0mla5lm51ryikc2rrk53max2m7a5ds6i1ai921l2h95wrha45nkr"; 30 31 }; 31 32 33 + nativeBuildInputs = [ wafHook ]; 32 34 buildInputs = 33 35 [ alsaLib aubio boost cairomm curl doxygen dbus fftw fftwSinglePrec flac 34 36 glibmm graphviz gtkmm2 libjack2 libgnomecanvas libgnomecanvasmm liblo ··· 47 49 patchShebangs ./tools/ 48 50 ''; 49 51 50 - configurePhase = "${python2.interpreter} waf configure --optimize --docs --with-backends=jack,alsa,dummy --prefix=$out"; 51 - 52 - buildPhase = "${python2.interpreter} waf"; 53 - 54 - installPhase = '' 55 - ${python2.interpreter} waf install 52 + configureFlags = [ 53 + "--optimize" 54 + "--docs" 55 + "--with-backends=jack,alsa,dummy" 56 + ]; 56 57 58 + postInstall = '' 57 59 # Install desktop file 58 60 mkdir -p "$out/share/applications" 59 61 cat > "$out/share/applications/ardour.desktop" << EOF
+2 -8
pkgs/applications/audio/fomp/default.nix
··· 1 - { stdenv, fetchurl, lv2, pkgconfig, python2 }: 1 + { stdenv, fetchurl, lv2, pkgconfig, python2, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "fomp-${version}"; ··· 9 9 sha256 = "1hh2xhknanqn3iwp12ihl6bf8p7bqxryms9qk7mh21lixl42b8k5"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 12 + nativeBuildInputs = [ pkgconfig wafHook ]; 13 13 buildInputs = [ lv2 python2 ]; 14 - 15 - installPhase = '' 16 - python waf configure --prefix=$out 17 - python waf 18 - python waf install 19 - ''; 20 14 21 15 meta = with stdenv.lib; { 22 16 homepage = http://drobilla.net/software/fomp/;
+2 -8
pkgs/applications/audio/guitarix/default.nix
··· 2 2 , avahi, bluez, boost, eigen, fftw, glib, glib-networking 3 3 , glibmm, gsettings-desktop-schemas, gtkmm2, libjack2 4 4 , ladspaH, libav, librdf, libsndfile, lilv, lv2, serd, sord, sratom 5 - , wrapGAppsHook, zita-convolver, zita-resampler, curl 5 + , wrapGAppsHook, zita-convolver, zita-resampler, curl, wafHook 6 6 , optimizationSupport ? false # Enable support for native CPU extensions 7 7 }: 8 8 ··· 19 19 sha256 = "1wfm8wrwrnqpb4ihy75n7l9i6vml536jlq9pdx2pblbc4ba3paac"; 20 20 }; 21 21 22 - nativeBuildInputs = [ gettext intltool wrapGAppsHook pkgconfig python2 ]; 22 + nativeBuildInputs = [ gettext intltool wrapGAppsHook pkgconfig python2 wafHook ]; 23 23 24 24 buildInputs = [ 25 25 avahi bluez boost eigen fftw glib glibmm glib-networking.out ··· 37 37 "--includeresampler" 38 38 "--convolver-ffmpeg" 39 39 ] ++ optional optimizationSupport "--optimization"; 40 - 41 - configurePhase = ''python2 waf configure --prefix=$out $configureFlags''; 42 - 43 - buildPhase = ''python2 waf build''; 44 - 45 - installPhase = ''python2 waf install''; 46 40 47 41 meta = with stdenv.lib; { 48 42 description = "A virtual guitar amplifier for Linux running with JACK";
+4 -8
pkgs/applications/audio/ingen/default.nix
··· 1 1 { stdenv, fetchgit, boost, ganv, glibmm, gtkmm2, libjack2, lilv 2 2 , lv2Unstable, makeWrapper, pkgconfig, python, raul, rdflib, serd, sord, sratom 3 - 3 + , wafHook 4 4 , suil 5 5 }: 6 6 ··· 15 15 deepClone = true; 16 16 }; 17 17 18 - nativeBuildInputs = [ pkgconfig ]; 18 + nativeBuildInputs = [ pkgconfig wafHook ]; 19 19 buildInputs = [ 20 20 boost ganv glibmm gtkmm2 libjack2 lilv lv2Unstable makeWrapper 21 21 python raul serd sord sratom suil 22 22 ]; 23 23 24 - configurePhase = '' 24 + preConfigure = '' 25 25 sed -e "s@{PYTHONDIR}/'@out/'@" -i wscript 26 - ${python.interpreter} waf configure --prefix=$out 27 26 ''; 28 27 29 28 propagatedBuildInputs = [ rdflib ]; 30 29 31 - buildPhase = "${python.interpreter} waf"; 32 - 33 - installPhase = '' 34 - ${python.interpreter} waf install 30 + postInstall = '' 35 31 for program in ingenams ingenish 36 32 do 37 33 wrapProgram $out/bin/$program \
+2 -8
pkgs/applications/audio/jalv/default.nix
··· 1 1 { stdenv, fetchurl, gtk2, libjack2, lilv, lv2, pkgconfig, python 2 - , serd, sord , sratom, suil }: 2 + , serd, sord , sratom, suil, wafHook }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "jalv-${version}"; ··· 10 10 sha256 = "1x2wpzzx2cgvz3dgdcgsj8dr0w3zsasy62mvl199bsdj5fbjaili"; 11 11 }; 12 12 13 - nativeBuildInputs = [ pkgconfig ]; 13 + nativeBuildInputs = [ pkgconfig wafHook ]; 14 14 buildInputs = [ 15 15 gtk2 libjack2 lilv lv2 python serd sord sratom suil 16 16 ]; 17 - 18 - configurePhase = "python waf configure --prefix=$out"; 19 - 20 - buildPhase = "python waf"; 21 - 22 - installPhase = "python waf install"; 23 17 24 18 meta = with stdenv.lib; { 25 19 description = "A simple but fully featured LV2 host for Jack";
+2 -8
pkgs/applications/audio/mda-lv2/default.nix
··· 1 - { stdenv, fetchurl, fftwSinglePrec, lv2, pkgconfig, python }: 1 + { stdenv, fetchurl, fftwSinglePrec, lv2, pkgconfig, python, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "mda-lv2-${version}"; ··· 9 9 sha256 = "0hh40c5d2m0k5gb3vw031l6lqn59dg804an3mkmhkc7qv4gc6xm4"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 12 + nativeBuildInputs = [ pkgconfig wafHook ]; 13 13 buildInputs = [ fftwSinglePrec lv2 python ]; 14 - 15 - configurePhase = "python waf configure --prefix=$out"; 16 - 17 - buildPhase = "python waf"; 18 - 19 - installPhase = "python waf install"; 20 14 21 15 meta = with stdenv.lib; { 22 16 homepage = http://drobilla.net/software/mda-lv2/;
+2 -5
pkgs/applications/audio/non/default.nix
··· 1 1 { stdenv, fetchFromGitHub, pkgconfig, python2, cairo, libjpeg, ntk, libjack2 2 - , libsndfile, ladspaH, liblrdf, liblo, libsigcxx 2 + , libsndfile, ladspaH, liblrdf, liblo, libsigcxx, wafHook 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { ··· 12 12 sha256 = "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"; 13 13 }; 14 14 15 - nativeBuildInputs = [ pkgconfig ]; 15 + nativeBuildInputs = [ pkgconfig wafHook ]; 16 16 buildInputs = [ python2 cairo libjpeg ntk libjack2 libsndfile 17 17 ladspaH liblrdf liblo libsigcxx 18 18 ]; 19 - configurePhase = "python waf configure --prefix=$out"; 20 - buildPhase = "python waf build"; 21 - installPhase = "python waf install"; 22 19 23 20 meta = { 24 21 description = "Lightweight and lightning fast modular Digital Audio Workstation";
+2 -6
pkgs/applications/audio/patchage/default.nix
··· 1 1 { stdenv, alsaLib, boost, dbus-glib, fetchsvn, ganv, glibmm 2 - , gtkmm2, libjack2, pkgconfig, python2 2 + , gtkmm2, libjack2, pkgconfig, python2, wafHook 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { ··· 13 13 14 14 buildInputs = [ 15 15 alsaLib boost dbus-glib ganv glibmm gtkmm2 libjack2 16 - pkgconfig python2 16 + pkgconfig python2 wafHook 17 17 ]; 18 - 19 - configurePhase = "python waf configure --prefix=$out"; 20 - buildPhase = "python waf build"; 21 - installPhase = "python waf install"; 22 18 23 19 meta = { 24 20 description = "Modular patch bay for Jack and ALSA systems";
+2 -12
pkgs/applications/misc/hamster-time-tracker/default.nix
··· 1 1 { stdenv, fetchzip, pythonPackages, docbook2x, libxslt, gnome-doc-utils 2 2 , intltool, dbus-glib, gnome_python 3 3 , hicolor-icon-theme 4 + , wafHook 4 5 }: 5 6 6 7 # TODO: Add optional dependency 'wnck', for "workspace tracking" support. Fixes ··· 17 18 sha256 = "1a85rcg561792kdyv744cgzw7mmpmgv6d6li1sijfdpqa1ninf8g"; 18 19 }; 19 20 21 + nativeBuildInputs = [ wafHook ]; 20 22 buildInputs = [ 21 23 docbook2x libxslt gnome-doc-utils intltool dbus-glib hicolor-icon-theme 22 24 ]; 23 25 24 26 propagatedBuildInputs = with pythonPackages; [ pygobject2 pygtk pyxdg gnome_python dbus-python ]; 25 27 26 - configurePhase = '' 27 - python waf configure --prefix="$out" 28 - ''; 29 - 30 - buildPhase = '' 31 - python waf build 32 - ''; 33 - 34 28 postFixup = '' 35 29 wrapPythonProgramsIn $out/lib/hamster-time-tracker "$out $pythonPath" 36 - ''; 37 - 38 - installPhase = '' 39 - python waf install 40 30 ''; 41 31 42 32 # error: invalid command 'test'
+3 -19
pkgs/applications/misc/kupfer/default.nix
··· 8 8 , keybinder3 9 9 , hicolor-icon-theme 10 10 , wrapGAppsHook 11 + , wafHook 11 12 }: 12 13 13 14 with python3Packages; ··· 24 25 nativeBuildInputs = [ 25 26 wrapGAppsHook intltool 26 27 # For setup hook 27 - gobjectIntrospection 28 + gobjectIntrospection wafHook 28 29 ]; 29 30 buildInputs = [ hicolor-icon-theme docutils libwnck3 keybinder3 ]; 30 31 propagatedBuildInputs = [ pygobject3 gtk3 pyxdg dbus-python pycairo ]; 31 32 32 - configurePhase = '' 33 - runHook preConfigure 34 - python ./waf configure --prefix=$prefix 35 - runHook postConfigure 36 - ''; 37 - 38 - buildPhase = '' 39 - runHook preBuild 40 - python ./waf 41 - runHook postBuild 42 - ''; 43 - 44 - installPhase = let 33 + postInstall = let 45 34 pythonPath = (stdenv.lib.concatMapStringsSep ":" 46 35 (m: "${m}/lib/${python.libPrefix}/site-packages") 47 36 propagatedBuildInputs); 48 37 in '' 49 - runHook preInstall 50 - python ./waf install 51 - 52 38 gappsWrapperArgs+=( 53 39 "--prefix" "PYTHONPATH" : "${pythonPath}" 54 40 "--set" "PYTHONNOUSERSITE" "1" 55 41 ) 56 - 57 - runHook postInstall 58 42 ''; 59 43 60 44 doCheck = false; # no tests
+4 -13
pkgs/applications/misc/xiphos/default.nix
··· 1 - {stdenv, fetchFromGitHub, pkgconfig 1 + { stdenv, fetchFromGitHub, pkgconfig 2 2 , python 3 3 , intltool 4 4 , docbook2x, docbook_xml_dtd_412, libxslt ··· 9 9 , webkitgtk 10 10 , dbus-glib, enchant, isocodes, libuuid, icu 11 11 , wrapGAppsHook 12 + , wafHook 12 13 }: 13 14 14 15 stdenv.mkDerivation rec { ··· 22 23 sha256 = "1vwf1ps6nrajxl1qbs6v1cgykmq5wn4j09j10gbcd3b2nvrprf3g"; 23 24 }; 24 25 25 - nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; 26 + nativeBuildInputs = [ pkgconfig wrapGAppsHook wafHook ]; 26 27 buildInputs = [ python intltool docbook2x docbook_xml_dtd_412 libxslt 27 28 sword clucene_core biblesync gnome-doc-utils libgsf gconf gtkhtml 28 29 libglade scrollkeeper webkitgtk dbus-glib enchant isocodes libuuid icu ]; ··· 36 37 export SWORD_HOME=${sword}; 37 38 ''; 38 39 39 - configurePhase = '' 40 - python waf configure --prefix=$out --enable-webkit2 41 - ''; 42 - 43 - buildPhase = '' 44 - python waf build 45 - ''; 46 - 47 - installPhase = '' 48 - python waf install 49 - ''; 40 + configureFlags= [ "--enable-webkit2" ]; 50 41 51 42 meta = with stdenv.lib; { 52 43 description = "A GTK Bible study tool";
+3 -8
pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin.nix
··· 1 - { stdenv, pkgconfig, fetchFromGitHub, python2, bash, vala, dockbarx, gtk2, xfce, pythonPackages }: 1 + { stdenv, pkgconfig, fetchFromGitHub, python2, bash, vala 2 + , dockbarx, gtk2, xfce, pythonPackages, wafHook }: 2 3 3 4 stdenv.mkDerivation rec { 4 5 ver = "0.5"; ··· 14 15 15 16 pythonPath = [ dockbarx ]; 16 17 17 - nativeBuildInputs = [ pkgconfig ]; 18 + nativeBuildInputs = [ pkgconfig wafHook ]; 18 19 buildInputs = [ python2 vala gtk2 pythonPackages.wrapPython ] 19 20 ++ (with xfce; [ libxfce4util xfce4-panel xfconf xfce4-dev-tools ]) 20 21 ++ pythonPath; ··· 24 25 substituteInPlace src/dockbarx.vala --replace /usr/share/ $out/share/ 25 26 substituteInPlace src/dockbarx.vala --replace '/usr/bin/env python2' ${bash}/bin/bash 26 27 ''; 27 - 28 - configurePhase = "python waf configure --prefix=$out"; 29 - 30 - buildPhase = "python waf build"; 31 - 32 - installPhase = "python waf install"; 33 28 34 29 postFixup = '' 35 30 wrapPythonProgramsIn "$out/share/xfce4/panel/plugins" "$out $pythonPath"
+3 -8
pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin.nix
··· 1 - { stdenv, pkgconfig, fetchFromGitHub, python2, vala, gtk2, libwnck, libxfce4util, xfce4-panel }: 1 + { stdenv, pkgconfig, fetchFromGitHub, python2, vala 2 + , gtk2, libwnck, libxfce4util, xfce4-panel, wafHook }: 2 3 3 4 stdenv.mkDerivation rec { 4 5 ver = "0.3.1"; ··· 12 13 sha256 = "1sl4qmjywfvv53ch7hyfysjfd91zl38y7gdw2y3k69vkzd3h18ad"; 13 14 }; 14 15 15 - nativeBuildInputs = [ pkgconfig ]; 16 + nativeBuildInputs = [ pkgconfig wafHook ]; 16 17 buildInputs = [ python2 vala gtk2 libwnck libxfce4util xfce4-panel ]; 17 18 18 19 postPatch = '' 19 20 substituteInPlace src/preferences.vala --replace 'Environment.get_system_data_dirs()' "{ \"$out/share\" }" 20 21 substituteInPlace src/namebar.vala --replace 'Environment.get_system_data_dirs()' "{ \"$out/share\" }" 21 22 ''; 22 - 23 - configurePhase = "python waf configure --prefix=$out"; 24 - 25 - buildPhase = "python waf build"; 26 - 27 - installPhase = "python waf install"; 28 23 29 24 meta = with stdenv.lib; { 30 25 homepage = https://github.com/TiZ-EX1/xfce4-namebar-plugin;
+2 -9
pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig 2 2 , gtk 3 3 , thunar-bare, python2, hicolor-icon-theme 4 + , wafHook 4 5 }: 5 6 6 7 stdenv.mkDerivation rec { ··· 14 15 sha256 = "08vhzzzwshyz371yl7fzfylmhvchhv3s5kml3dva4v39jhvrpnkf"; 15 16 }; 16 17 17 - nativeBuildInputs = [ pkgconfig ]; 18 + nativeBuildInputs = [ pkgconfig wafHook ]; 18 19 buildInputs = [ 19 20 gtk 20 21 thunar-bare python2 hicolor-icon-theme 21 22 ]; 22 - 23 - configurePhase = "python2 waf configure --prefix=$out"; 24 - 25 - buildPhase = "python2 waf"; 26 - 27 - installPhase = '' 28 - python2 waf install 29 - ''; 30 23 31 24 enableParallelBuilding = true; 32 25
+9 -30
pkgs/development/compilers/clasp/default.nix
··· 1 - {stdenv, fetchFromGitHub 2 - , llvmPackages 3 - , cmake, boehmgc, gmp, zlib, ncurses, boost 4 - , python, git, sbcl 1 + { stdenv, fetchFromGitHub 2 + , llvmPackages 3 + , cmake, boehmgc, gmp, zlib, ncurses, boost 4 + , python, git, sbcl 5 + , wafHook 5 6 }: 6 7 stdenv.mkDerivation rec { 7 8 name = "${pname}-${version}"; ··· 16 17 fetchSubmodules = true; 17 18 }; 18 19 19 - nativeBuildInputs = [ cmake python git sbcl ]; 20 + nativeBuildInputs = [ cmake python git sbcl wafHook ]; 20 21 21 22 buildInputs = with llvmPackages; ( 22 23 builtins.map (x: stdenv.lib.overrideDerivation x ··· 32 33 33 34 NIX_CFLAGS_COMPILE = " -frtti "; 34 35 35 - configurePhase = '' 36 - runHook preConfigure 37 - 38 - export CXX=clang++ 39 - export CC=clang 40 - 36 + postPatch = '' 41 37 echo " 42 38 INSTALL_PATH_PREFIX = '$out' 43 39 " | sed -e 's/^ *//' > wscript.config 44 - 45 - python ./waf configure update_submodules 46 - 47 - runHook postConfigure 48 40 ''; 49 41 50 - buildPhase = '' 51 - runHook preBuild 52 - 53 - python ./waf build_cboehm 54 - 55 - runHook postBuild 56 - ''; 57 - 58 - installPhase = '' 59 - runHook preInstall 60 - 61 - python ./waf install_cboehm 62 - 63 - runHook postInstall 64 - ''; 42 + buildTargets = "build_cboehm"; 43 + installTargets = "install_cboehm"; 65 44 66 45 meta = { 67 46 inherit version;
+2 -8
pkgs/development/libraries/aubio/default.nix
··· 1 1 { stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate 2 - , libsndfile, pkgconfig, python 2 + , libsndfile, pkgconfig, python, wafHook 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { ··· 10 10 sha256 = "0hd0kzfmr46am00ygxar8alrldv92c5azqy701iilfmbqpz4mvfb"; 11 11 }; 12 12 13 - nativeBuildInputs = [ pkgconfig python ]; 13 + nativeBuildInputs = [ pkgconfig python wafHook ]; 14 14 buildInputs = [ alsaLib fftw libjack2 libsamplerate libsndfile ]; 15 - 16 - configurePhase = "python waf configure --prefix=$out"; 17 - 18 - buildPhase = "python waf"; 19 - 20 - installPhase = "python waf install"; 21 15 22 16 meta = with stdenv.lib; { 23 17 description = "Library for audio labelling";
+2 -8
pkgs/development/libraries/audio/lilv/default.nix
··· 1 - { stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom }: 1 + { stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "lilv-${version}"; ··· 9 9 sha256 = "0f24cd7wkk5l969857g2ydz2kjjrkvvddg1g87xzzs78lsvq8fy3"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 12 + nativeBuildInputs = [ pkgconfig wafHook ]; 13 13 buildInputs = [ lv2 python serd sord sratom ]; 14 - 15 - configurePhase = "${python.interpreter} waf configure --prefix=$out"; 16 - 17 - buildPhase = "${python.interpreter} waf"; 18 - 19 - installPhase = "${python.interpreter} waf install"; 20 14 21 15 meta = with stdenv.lib; { 22 16 homepage = http://drobilla.net/software/lilv;
+2 -8
pkgs/development/libraries/audio/lv2/default.nix
··· 1 - { stdenv, fetchurl, gtk2, libsndfile, pkgconfig, python }: 1 + { stdenv, fetchurl, gtk2, libsndfile, pkgconfig, python, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "lv2-${version}"; ··· 9 9 sha256 = "0chxwys3vnn3nxc9x2vchm74s9sx0vfra6y893byy12ci61jc1dq"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 12 + nativeBuildInputs = [ pkgconfig wafHook ]; 13 13 buildInputs = [ gtk2 libsndfile python ]; 14 - 15 - configurePhase = "${python.interpreter} waf configure --prefix=$out"; 16 - 17 - buildPhase = "${python.interpreter} waf"; 18 - 19 - installPhase = "${python.interpreter} waf install"; 20 14 21 15 meta = with stdenv.lib; { 22 16 homepage = http://lv2plug.in;
+2 -8
pkgs/development/libraries/audio/lv2/unstable.nix
··· 1 - { stdenv, fetchgit, gtk2, libsndfile, pkgconfig, python }: 1 + { stdenv, fetchgit, gtk2, libsndfile, pkgconfig, python, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "lv2-unstable-${version}"; ··· 10 10 sha256 = "1gp2rd99dfmpibvpixrqn115mrhybzf3if3h8bssf6siyi13f29r"; 11 11 }; 12 12 13 - nativeBuildInputs = [ pkgconfig ]; 13 + nativeBuildInputs = [ pkgconfig wafHook ]; 14 14 buildInputs = [ gtk2 libsndfile python ]; 15 - 16 - configurePhase = "${python.interpreter} waf configure --prefix=$out"; 17 - 18 - buildPhase = "${python.interpreter} waf"; 19 - 20 - installPhase = "${python.interpreter} waf install"; 21 15 22 16 meta = with stdenv.lib; { 23 17 homepage = http://lv2plug.in;
+6 -11
pkgs/development/libraries/audio/lvtk/default.nix
··· 1 - { stdenv, fetchurl, boost, gtkmm2, lv2, pkgconfig, python }: 1 + { stdenv, fetchurl, boost, gtkmm2, lv2, pkgconfig, python, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "lvtk-${version}"; ··· 9 9 sha256 = "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig python ]; 12 + nativeBuildInputs = [ pkgconfig python wafHook ]; 13 13 buildInputs = [ boost gtkmm2 lv2 ]; 14 14 15 15 enableParallelBuilding = true; ··· 19 19 sed -i '/target[ ]*= "ttl2c"/ ilib=["boost_system"],' tools/wscript_build 20 20 ''; 21 21 22 - configurePhase = '' 23 - python waf configure --prefix=$out \ 24 - --boost-includes="${boost.dev}/include" \ 25 - --boost-libs="${boost.out}/lib" 26 - ''; 27 - 28 - buildPhase = "python waf"; 29 - 30 - installPhase = "python waf install"; 22 + configureFlags = [ 23 + "--boost-includes=${boost.dev}/include" 24 + "--boost-libs=${boost.out}/lib" 25 + ]; 31 26 32 27 meta = with stdenv.lib; { 33 28 description = "A set C++ wrappers around the LV2 C API";
+2 -11
pkgs/development/libraries/audio/ntk/default.nix
··· 1 - { stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkgconfig, python2 }: 1 + { stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkgconfig, python2, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ntk-${version}"; ··· 10 10 sha256 = "0j38mhnfqy6swcrnc5zxcwlqi8b1pgklyghxk6qs1lf4japv2zc0"; 11 11 }; 12 12 13 - nativeBuildInputs = [ pkgconfig ]; 13 + nativeBuildInputs = [ pkgconfig wafHook ]; 14 14 buildInputs = [ 15 15 cairo libjpeg libXft python2 16 16 ]; 17 - 18 - buildPhase = '' 19 - python waf configure --prefix=$out 20 - python waf 21 - ''; 22 - 23 - installPhase = '' 24 - python waf install 25 - ''; 26 17 27 18 meta = { 28 19 description = "Fork of FLTK 1.3.0 with additional functionality";
+2 -8
pkgs/development/libraries/audio/raul/default.nix
··· 1 - { stdenv, fetchgit, boost, gtk2, pkgconfig, python }: 1 + { stdenv, fetchgit, boost, gtk2, pkgconfig, python, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "raul-unstable-${rev}"; ··· 10 10 sha256 = "04fajrass3ymr72flx5js5vxc601ccrmx8ny8scp0rw7j0igyjdr"; 11 11 }; 12 12 13 - nativeBuildInputs = [ pkgconfig ]; 13 + nativeBuildInputs = [ pkgconfig wafHook ]; 14 14 buildInputs = [ boost gtk2 python ]; 15 - 16 - configurePhase = "${python.interpreter} waf configure --prefix=$out"; 17 - 18 - buildPhase = "${python.interpreter} waf"; 19 - 20 - installPhase = "${python.interpreter} waf install"; 21 15 22 16 meta = with stdenv.lib; { 23 17 description = "A C++ utility library primarily aimed at audio/musical applications";
+2 -8
pkgs/development/libraries/audio/sratom/default.nix
··· 1 - { stdenv, fetchurl, lv2, pkgconfig, python, serd, sord }: 1 + { stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "sratom-${version}"; ··· 9 9 sha256 = "0lz883ravxjf7r9wwbx2gx9m8vhyiavxrl9jdxfppjxnsralll8a"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 12 + nativeBuildInputs = [ pkgconfig wafHook ]; 13 13 buildInputs = [ lv2 python serd sord ]; 14 - 15 - configurePhase = "${python.interpreter} waf configure --prefix=$out"; 16 - 17 - buildPhase = "${python.interpreter} waf"; 18 - 19 - installPhase = "${python.interpreter} waf install"; 20 14 21 15 meta = with stdenv.lib; { 22 16 homepage = http://drobilla.net/software/sratom;
+2 -7
pkgs/development/libraries/audio/suil/default.nix
··· 1 1 { stdenv, lib, fetchurl, gtk2, lv2, pkgconfig, python, serd, sord, sratom 2 + , wafHook 2 3 , withQt4 ? true, qt4 ? null 3 4 , withQt5 ? false, qt5 ? null }: 4 5 ··· 16 17 sha256 = "0j489gm3fhnmwmbgw30bvd4byw1vsy4yazdlnji8jzhcz0qwb5cq"; 17 18 }; 18 19 19 - nativeBuildInputs = [ pkgconfig ]; 20 + nativeBuildInputs = [ pkgconfig wafHook ]; 20 21 buildInputs = [ gtk2 lv2 python serd sord sratom ] 21 22 ++ (lib.optionals withQt4 [ qt4 ]) 22 23 ++ (lib.optionals withQt5 (with qt5; [ qtbase qttools ])); 23 - 24 - configurePhase = "python waf configure --prefix=$out"; 25 - 26 - buildPhase = "python waf"; 27 - 28 - installPhase = "python waf install"; 29 24 30 25 meta = with stdenv.lib; { 31 26 homepage = http://drobilla.net/software/suil;
+2 -8
pkgs/development/libraries/ganv/default.nix
··· 1 - { stdenv, fetchgit, graphviz, gtk2, gtkmm2, pkgconfig, python }: 1 + { stdenv, fetchgit, graphviz, gtk2, gtkmm2, pkgconfig, python, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ganv-unstable-${rev}"; ··· 10 10 sha256 = "0xmbykdl42jn9cgzrqrys5lng67d26nk5xq10wkkvjqldiwdck56"; 11 11 }; 12 12 13 - nativeBuildInputs = [ pkgconfig ]; 13 + nativeBuildInputs = [ pkgconfig wafHook ]; 14 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 15 22 16 meta = with stdenv.lib; { 23 17 description = "An interactive Gtk canvas widget for graph-based interfaces";
+8 -16
pkgs/development/libraries/ndn-cxx/default.nix
··· 1 - { stdenv, fetchFromGitHub, openssl, doxygen, boost, sqlite, pkgconfig, python, pythonPackages }: 1 + { stdenv, fetchFromGitHub, openssl, doxygen 2 + , boost, sqlite, pkgconfig, python, pythonPackages, wafHook }: 2 3 let 3 4 version = "0.6.3"; 4 5 in ··· 10 11 rev = "a3bf4319ed483a4a6fe2c96b79ec4491d7217f00"; 11 12 sha256 = "076jhrjigisqz5n8dgxwd5fhimg69zhm834m7w9yvf9afgzrr50h"; 12 13 }; 13 - nativeBuildInputs = [ pkgconfig ]; 14 + nativeBuildInputs = [ pkgconfig wafHook ]; 14 15 buildInputs = [ openssl doxygen boost sqlite python pythonPackages.sphinx]; 15 - preConfigure = '' 16 - patchShebangs waf 17 - ./waf configure \ 18 - --prefix=$out \ 19 - --with-openssl=${openssl.dev} \ 20 - --boost-includes=${boost.dev}/include \ 21 - --boost-libs=${boost.out}/lib 22 - ''; 23 - buildPhase = '' 24 - ./waf 25 - ''; 26 - installPhase = '' 27 - ./waf install 28 - ''; 16 + configureFlags = [ 17 + "--with-openssl=${openssl.dev}" 18 + "--boost-includes=${boost.dev}/include" 19 + "--boost-libs=${boost.out}/lib" 20 + ]; 29 21 meta = with stdenv.lib; { 30 22 homepage = http://named-data.net/; 31 23 description = "A Named Data Neworking (NDN) or Content Centric Networking (CCN) abstraction";
+5 -9
pkgs/development/libraries/science/networking/ns3/default.nix
··· 1 1 { stdenv 2 2 , fetchFromGitHub 3 3 , python 4 + , wafHook 4 5 5 6 # for binding generation 6 7 , castxml ? null ··· 50 51 sha256 = "17kzfjpgw2mvyx1c9bxccnvw67jpk09fxmcnlkqx9xisk10qnhng"; 51 52 }; 52 53 54 + nativeBuildInputs = [ wafHook ]; 53 55 # ncurses is a hidden dependency of waf when checking python 54 56 buildInputs = lib.optionals generateBindings [ castxml ncurses ] 55 57 ++ stdenv.lib.optional enableDoxygen [ doxygen graphviz imagemagick ] ··· 58 60 propagatedBuildInputs = [ gcc6 pythonEnv ]; 59 61 60 62 postPatch = '' 61 - patchShebangs ./waf 62 63 patchShebangs doc/ns3_html_theme/get_version.sh 63 64 ''; 64 - 65 - configureScript = "${python.interpreter} ./waf configure"; 66 65 67 66 configureFlags = with stdenv.lib; [ 68 67 "--enable-modules=${stdenv.lib.concatStringsSep "," modules}" ··· 74 73 ++ optional doCheck " --enable-tests " 75 74 ; 76 75 77 - postBuild = with stdenv.lib; let flags = concatStringsSep ";" ( 78 - optional enableDoxygen "./waf doxygen" 79 - ++ optional withManual "./waf sphinx" 80 - ); 81 - in "${flags}" 82 - ; 76 + buildTargets = "build" 77 + + lib.optionalString enableDoxygen " doxygen" 78 + + lib.optionalString withManual "sphinx"; 83 79 84 80 doCheck = true; 85 81
+2 -8
pkgs/development/libraries/serd/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, python }: 1 + { stdenv, fetchurl, pkgconfig, python, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "serd-${version}"; ··· 9 9 sha256 = "1yyfyvc6kwagi5w43ljp1bbjdvdpmgpds74lmjxycm91bkx0xyvf"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig python ]; 13 - 14 - configurePhase = "python waf configure --prefix=$out"; 15 - 16 - buildPhase = "python waf"; 17 - 18 - installPhase = "python waf install"; 12 + nativeBuildInputs = [ pkgconfig python wafHook ]; 19 13 20 14 meta = with stdenv.lib; { 21 15 homepage = http://drobilla.net/software/serd;
+2 -8
pkgs/development/libraries/sord/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, python, serd, pcre }: 1 + { stdenv, fetchurl, pkgconfig, python, serd, pcre, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "sord-${version}"; ··· 9 9 sha256 = "13fshxwpipjrvsah1m2jw1kf022z2q5vpw24bzcznglgvms13x89"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 12 + nativeBuildInputs = [ pkgconfig wafHook ]; 13 13 buildInputs = [ python serd pcre ]; 14 - 15 - configurePhase = "${python.interpreter} waf configure --prefix=$out"; 16 - 17 - buildPhase = "${python.interpreter} waf"; 18 - 19 - installPhase = "${python.interpreter} waf install"; 20 14 21 15 meta = with stdenv.lib; { 22 16 homepage = http://drobilla.net/software/sord;
+2 -6
pkgs/development/libraries/termbox/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3 }: 1 + { stdenv, fetchFromGitHub, python3, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "termbox-${version}"; ··· 9 9 rev = "v${version}"; 10 10 sha256 = "08yqxzb8fny8806p7x8a6f3phhlbfqdd7dhkv25calswj7w1ssvs"; 11 11 }; 12 - nativeBuildInputs = [ python3 ]; 13 - configurePhase = "python3 ./waf configure --prefix=$out"; 14 - buildPhase = "python3 ./waf build"; 15 - installPhase = "python3 ./waf install --destdir=$out"; 12 + nativeBuildInputs = [ python3 wafHook ]; 16 13 meta = with stdenv.lib; { 17 14 description = "Library for writing text-based user interfaces"; 18 15 license = licenses.mit; ··· 21 18 maintainers = with maintainers; [ fgaz ]; 22 19 }; 23 20 } 24 -
+6 -6
pkgs/misc/emulators/wxmupen64plus/default.nix
··· 1 - {stdenv, fetchurl, python, wxGTK29, mupen64plus, SDL, libX11, libGLU_combined}: 1 + { stdenv, fetchurl, python, wxGTK29, mupen64plus, SDL, libX11, libGLU_combined 2 + , wafHook }: 2 3 3 4 stdenv.mkDerivation { 4 5 name = "wxmupen64plus-0.3"; ··· 7 8 sha256 = "1mnxi4k011dd300k35li2p6x4wccwi6im21qz8dkznnz397ps67c"; 8 9 }; 9 10 11 + nativeBuildInputs = [ wafHook ]; 10 12 buildInputs = [ python wxGTK29 SDL libX11 libGLU_combined ]; 11 13 12 - configurePhase = '' 14 + preConfigure = '' 13 15 tar xf ${mupen64plus.src} 14 16 APIDIR=$(eval echo `pwd`/mupen64plus*/source/mupen64plus-core/src/api) 15 17 export CXXFLAGS="-I${libX11.dev}/include/X11 -DLIBDIR=\\\"${mupen64plus}/lib/\\\"" 16 18 export LDFLAGS="-lwx_gtk2u_adv-2.9" 17 - python waf configure --mupenapi=$APIDIR --wxconfig=`type -P wx-config` --prefix=$out 18 - ''; 19 19 20 - buildPhase = "python waf"; 21 - installPhase = "python waf install"; 20 + configureFlagsArray+=("--mupenapi=$APIDIR" "--wxconfig=`type -P wx-config`") 21 + ''; 22 22 23 23 meta = { 24 24 description = "GUI for the Mupen64Plus 2.0 emulator";
+12 -23
pkgs/misc/jackaudio/default.nix
··· 1 1 { stdenv, fetchFromGitHub, pkgconfig, python2Packages, makeWrapper 2 2 , bash, libsamplerate, libsndfile, readline, eigen, celt 3 + , wafHook 3 4 # Darwin Dependencies 4 5 , aften, AudioToolbox, CoreAudio, CoreFoundation 5 6 ··· 35 36 sha256 = "0ynpyn0l77m94b50g7ysl795nvam3ra65wx5zb46nxspgbf6wnkh"; 36 37 }; 37 38 38 - nativeBuildInputs = [ pkgconfig python makeWrapper ]; 39 + nativeBuildInputs = [ pkgconfig python makeWrapper wafHook ]; 39 40 buildInputs = [ libsamplerate libsndfile readline eigen celt 40 41 optDbus optPythonDBus optLibffado optAlsaLib optLibopus 41 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ aften AudioToolbox CoreAudio CoreFoundation ]; 42 + ] ++ optionals stdenv.isDarwin [ aften AudioToolbox CoreAudio CoreFoundation ]; 42 43 43 44 # CoreFoundation 10.10 doesn't include CFNotificationCenter.h yet. 44 - patches = stdenv.lib.optionals stdenv.isDarwin [ ./darwin-cf.patch ]; 45 + patches = optionals stdenv.isDarwin [ ./darwin-cf.patch ]; 45 46 46 47 prePatch = '' 47 48 substituteInPlace svnversion_regenerate.sh \ ··· 51 52 # It looks like one of the frameworks depends on <CoreFoundation/CFAttributedString.h> 52 53 # since frameworks are impure we also have to use the impure CoreFoundation here. 53 54 # FIXME: remove when CoreFoundation is updated to 10.11 54 - preConfigure = stdenv.lib.optionalString stdenv.isDarwin '' 55 + preConfigure = optionalString stdenv.isDarwin '' 55 56 export NIX_CFLAGS_COMPILE="-F${CoreFoundation}/Library/Frameworks $NIX_CFLAGS_COMPILE" 56 57 ''; 57 58 58 - configurePhase = '' 59 - runHook preConfigure 59 + configureFlags = [ 60 + "--classic" 61 + "--autostart=${if (optDbus != null) then "dbus" else "classic"}" 62 + ] ++ optional (optDbus != null) "--dbus" 63 + ++ optional (optLibffado != null) "--firewire" 64 + ++ optional (optAlsaLib != null) "--alsa"; 60 65 61 - python waf configure --prefix=$out \ 62 - ${optionalString (optDbus != null) "--dbus"} \ 63 - --classic \ 64 - ${optionalString (optLibffado != null) "--firewire"} \ 65 - ${optionalString (optAlsaLib != null) "--alsa"} \ 66 - --autostart=${if (optDbus != null) then "dbus" else "classic"} \ 67 - 68 - runHook postConfigure 69 - ''; 70 - 71 - buildPhase = '' 72 - python waf build 73 - ''; 74 - 75 - installPhase = '' 76 - python waf install 77 - '' + (if libOnly then '' 66 + postInstall = (if libOnly then '' 78 67 rm -rf $out/{bin,share} 79 68 rm -rf $out/lib/{jack,libjacknet*,libjackserver*} 80 69 '' else ''
+2 -12
pkgs/os-specific/linux/pflask/default.nix
··· 1 - { lib, stdenv, fetchurl, python, waf }: 1 + { lib, stdenv, fetchurl, python, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "pflask-${version}"; ··· 10 10 sha256 = "2545fca37f9da484b46b6fb5e3a9bbba6526a9725189fe4af5227ef6e6fca440"; 11 11 }; 12 12 13 + nativeBuildInputs = [ wafHook ]; 13 14 buildInputs = [ python ]; 14 - 15 - configurePhase = '' 16 - ln -s ${waf} waf 17 - python waf configure --prefix=$out 18 - ''; 19 - buildPhase = '' 20 - python waf build 21 - ''; 22 - installPhase = '' 23 - python waf install 24 - ''; 25 15 26 16 meta = { 27 17 description = "Lightweight process containers for Linux";
+2 -6
pkgs/tools/graphics/blockhash/default.nix
··· 1 - { stdenv, fetchFromGitHub, python, pkgconfig, imagemagick }: 1 + { stdenv, fetchFromGitHub, python, pkgconfig, imagemagick, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "blockhash-${version}"; ··· 11 11 sha256 = "0m7ikppl42iicgmwsb7baajmag7v0p1ab06xckifvrr0zm21bq9p"; 12 12 }; 13 13 14 - nativeBuildInputs = [ python pkgconfig ]; 14 + nativeBuildInputs = [ python pkgconfig wafHook ]; 15 15 buildInputs = [ imagemagick ]; 16 - 17 - configurePhase = "python waf configure --prefix=$out"; 18 - buildPhase = "python waf"; 19 - installPhase = "python waf install"; 20 16 21 17 meta = with stdenv.lib; { 22 18 homepage = "http://blockhash.io/";
+3 -10
pkgs/tools/graphics/glmark2/default.nix
··· 1 1 { stdenv, fetchFromGitHub, pkgconfig, libjpeg, libpng, xorg, libX11, libGL, libdrm, 2 - python27, wayland, udev, mesa_noglu }: 2 + python27, wayland, udev, mesa_noglu, wafHook }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "glmark2-${version}"; ··· 12 12 sha256 = "076l75rfl6pnp1wgiwlaihy1vg2advg1z8bi0x84kk259kldgvwn"; 13 13 }; 14 14 15 - nativeBuildInputs = [ pkgconfig ]; 15 + nativeBuildInputs = [ pkgconfig wafHook ]; 16 16 buildInputs = [ 17 17 libjpeg libpng xorg.libxcb libX11 libGL libdrm python27 wayland udev mesa_noglu 18 18 ]; 19 19 20 - buildPhase = '' 21 - python ./waf configure --prefix=$out --with-flavors x11-gl,x11-glesv2,drm-gl,drm-glesv2,wayland-gl,wayland-glesv2 22 - python2 ./waf 23 - ''; 24 - 25 - installPhase = '' 26 - python2 ./waf install --destdir="$pkgdir/" 27 - ''; 20 + configureFlags = ["--with-flavors=x11-gl,x11-glesv2,drm-gl,drm-glesv2,wayland-gl,wayland-glesv2"]; 28 21 29 22 meta = with stdenv.lib; { 30 23 description = "OpenGL (ES) 2.0 benchmark";
+2 -6
pkgs/tools/networking/weighttp/default.nix
··· 1 - { stdenv, fetchgit, python, libev}: 1 + { stdenv, fetchgit, python, libev, wafHook }: 2 2 stdenv.mkDerivation rec { 3 3 name = "weighttp-${version}"; 4 4 version = "0.4"; ··· 9 9 sha256 = "14yjmdx9p8g8c3zlrx5qid8k156lsagfwhl3ny54162nxjf7kzgr"; 10 10 }; 11 11 12 + nativeBuildInputs = [ wafHook ]; 12 13 buildInputs = [ python libev ]; 13 - installPhase = '' 14 - python waf configure --prefix=$out 15 - python waf build 16 - python waf install 17 - ''; 18 14 19 15 meta = { 20 16 platforms = stdenv.lib.platforms.unix;