summary refs log tree commit diff
path: root/pkgs/applications/misc/kupfer
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-11-11 15:20:41 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-11-13 19:13:48 -0600
commitf2a20b6e520989bc2c01d362c31fa94cbf6bee52 (patch)
treea18463cd63f58a9c217f1d6160315c75ba2a5790 /pkgs/applications/misc/kupfer
parent92ebfa13833065a23cd3479eefc2624b46ec45dd (diff)
downloadnixpkgs-f2a20b6e520989bc2c01d362c31fa94cbf6bee52.tar
nixpkgs-f2a20b6e520989bc2c01d362c31fa94cbf6bee52.tar.gz
nixpkgs-f2a20b6e520989bc2c01d362c31fa94cbf6bee52.tar.bz2
nixpkgs-f2a20b6e520989bc2c01d362c31fa94cbf6bee52.tar.lz
nixpkgs-f2a20b6e520989bc2c01d362c31fa94cbf6bee52.tar.xz
nixpkgs-f2a20b6e520989bc2c01d362c31fa94cbf6bee52.tar.zst
nixpkgs-f2a20b6e520989bc2c01d362c31fa94cbf6bee52.zip
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/applications/misc/kupfer')
-rw-r--r--pkgs/applications/misc/kupfer/default.nix22
1 files changed, 3 insertions, 19 deletions
diff --git a/pkgs/applications/misc/kupfer/default.nix b/pkgs/applications/misc/kupfer/default.nix
index 3072963c43e..0b07767d760 100644
--- a/pkgs/applications/misc/kupfer/default.nix
+++ b/pkgs/applications/misc/kupfer/default.nix
@@ -8,6 +8,7 @@
 , keybinder3
 , hicolor-icon-theme
 , wrapGAppsHook
+, wafHook
 }:
 
 with python3Packages;
@@ -24,37 +25,20 @@ buildPythonApplication rec {
   nativeBuildInputs = [
     wrapGAppsHook intltool
     # For setup hook
-    gobjectIntrospection
+    gobjectIntrospection wafHook
   ];
   buildInputs = [ hicolor-icon-theme docutils libwnck3 keybinder3 ];
   propagatedBuildInputs = [ pygobject3 gtk3 pyxdg dbus-python pycairo ];
 
-  configurePhase = ''
-    runHook preConfigure
-    python ./waf configure --prefix=$prefix
-    runHook postConfigure
-  '';
-
-  buildPhase = ''
-    runHook preBuild
-    python ./waf
-    runHook postBuild
-  '';
-
-  installPhase = let
+  postInstall = let
     pythonPath = (stdenv.lib.concatMapStringsSep ":"
       (m: "${m}/lib/${python.libPrefix}/site-packages")
       propagatedBuildInputs);
   in ''
-    runHook preInstall
-    python ./waf install
-
     gappsWrapperArgs+=(
       "--prefix" "PYTHONPATH" : "${pythonPath}"
       "--set" "PYTHONNOUSERSITE" "1"
     )
-
-    runHook postInstall
   '';
 
   doCheck = false; # no tests