nixpkgs/pkgs/applications/science/electronics/fritzing/default.nix
Kranium Gikos Mendoza dd778f1756 fritzing: fix qmake4Hook build
pass phoenix.pro and return unpack logic which were removed in 0b88755
2016-07-17 22:40:27 +08:00

31 lines
761 B
Nix

{ stdenv, fetchurl, qtbase, qtsvg, qmakeHook, boost }:
stdenv.mkDerivation rec {
version = "0.9.0b";
name = "fritzing-${version}";
src = fetchurl {
url = "http://fritzing.org/download/${version}/source-tarball/fritzing-${version}.source.tar_1.bz2";
sha256 = "181qnknq1j5x075icpw2qk0sc4wcj9f2hym533vs936is0wxp2gk";
};
unpackPhase = ''
tar xjf ${src}
'';
buildInputs = [ qtbase qtsvg boost qmakeHook ];
qmakeFlags = [ "phoenix.pro" ];
preConfigure = ''
cd fritzing-${version}.source
'';
meta = {
description = "An open source prototyping tool for Arduino-based projects";
homepage = http://fritzing.org/;
license = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.robberer ];
};
}