summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/graphics/blockhash
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/tools/graphics/blockhash
parent92ebfa13833065a23cd3479eefc2624b46ec45dd (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/tools/graphics/blockhash')
-rw-r--r--pkgs/tools/graphics/blockhash/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/tools/graphics/blockhash/default.nix b/pkgs/tools/graphics/blockhash/default.nix
index 5ddf8185b3cf..ad72933cc771 100644
--- a/pkgs/tools/graphics/blockhash/default.nix
+++ b/pkgs/tools/graphics/blockhash/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, python, pkgconfig, imagemagick }:
+{ stdenv, fetchFromGitHub, python, pkgconfig, imagemagick, wafHook }:
stdenv.mkDerivation rec {
name = "blockhash-${version}";
@@ -11,13 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "0m7ikppl42iicgmwsb7baajmag7v0p1ab06xckifvrr0zm21bq9p";
};
- nativeBuildInputs = [ python pkgconfig ];
+ nativeBuildInputs = [ python pkgconfig wafHook ];
buildInputs = [ imagemagick ];
- configurePhase = "python waf configure --prefix=$out";
- buildPhase = "python waf";
- installPhase = "python waf install";
-
meta = with stdenv.lib; {
homepage = "http://blockhash.io/";
description = ''