fritzing: move to qmakeHook

This reverts commit 81fc546df3.
This commit is contained in:
Nikolay Amiantov 2016-04-16 22:59:18 +03:00
parent 83406bc171
commit 0b88755d37

View file

@ -1,7 +1,6 @@
{ stdenv, fetchurl, qtbase, qtsvg, boost }:
{ stdenv, fetchurl, qtbase, qtsvg, qmakeHook, boost }:
stdenv.mkDerivation rec {
version = "0.9.0b";
name = "fritzing-${version}";
@ -10,19 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "181qnknq1j5x075icpw2qk0sc4wcj9f2hym533vs936is0wxp2gk";
};
unpackPhase = ''
tar xjf ${src}
'';
buildInputs = [ qtbase qtsvg boost ];
configurePhase = ''
runHook preConfigure
cd fritzing-${version}.source
echo $PATH
qmake PREFIX=$out phoenix.pro
runHook postConfigure
'';
buildInputs = [ qtbase qtsvg boost qmakeHook ];
meta = {
description = "An open source prototyping tool for Arduino-based projects";