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
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, python, waf }:
|
||||
{ lib, stdenv, fetchurl, python, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pflask-${version}";
|
||||
@@ -10,19 +10,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "2545fca37f9da484b46b6fb5e3a9bbba6526a9725189fe4af5227ef6e6fca440";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wafHook ];
|
||||
buildInputs = [ python ];
|
||||
|
||||
configurePhase = ''
|
||||
ln -s ${waf} waf
|
||||
python waf configure --prefix=$out
|
||||
'';
|
||||
buildPhase = ''
|
||||
python waf build
|
||||
'';
|
||||
installPhase = ''
|
||||
python waf install
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Lightweight process containers for Linux";
|
||||
homepage = "https://ghedo.github.io/pflask/";
|
||||
|
||||
Reference in New Issue
Block a user