diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-11 15:20:41 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-13 19:13:48 -0600 |
commit | f2a20b6e520989bc2c01d362c31fa94cbf6bee52 (patch) | |
tree | a18463cd63f58a9c217f1d6160315c75ba2a5790 /pkgs/development/libraries/termbox | |
parent | 92ebfa13833065a23cd3479eefc2624b46ec45dd (diff) |
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
Diffstat (limited to 'pkgs/development/libraries/termbox')
-rw-r--r-- | pkgs/development/libraries/termbox/default.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/libraries/termbox/default.nix b/pkgs/development/libraries/termbox/default.nix index 0898289978a27..469a6a4c96f9a 100644 --- a/pkgs/development/libraries/termbox/default.nix +++ b/pkgs/development/libraries/termbox/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, python3 }: +{ stdenv, fetchFromGitHub, python3, wafHook }: stdenv.mkDerivation rec { name = "termbox-${version}"; @@ -9,10 +9,7 @@ stdenv.mkDerivation rec { rev = "v${version}"; sha256 = "08yqxzb8fny8806p7x8a6f3phhlbfqdd7dhkv25calswj7w1ssvs"; }; - nativeBuildInputs = [ python3 ]; - configurePhase = "python3 ./waf configure --prefix=$out"; - buildPhase = "python3 ./waf build"; - installPhase = "python3 ./waf install --destdir=$out"; + nativeBuildInputs = [ python3 wafHook ]; meta = with stdenv.lib; { description = "Library for writing text-based user interfaces"; license = licenses.mit; @@ -21,4 +18,3 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ fgaz ]; }; } - |