2016-04-16 20:59:18 +01:00
|
|
|
{ stdenv, fetchurl, qtbase, qtsvg, qmakeHook, boost }:
|
2014-10-10 11:43:39 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.9.0b";
|
2015-05-14 16:18:17 +01:00
|
|
|
name = "fritzing-${version}";
|
2014-10-10 11:43:39 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://fritzing.org/download/${version}/source-tarball/fritzing-${version}.source.tar_1.bz2";
|
|
|
|
sha256 = "181qnknq1j5x075icpw2qk0sc4wcj9f2hym533vs936is0wxp2gk";
|
|
|
|
};
|
|
|
|
|
2016-07-17 15:40:27 +01:00
|
|
|
unpackPhase = ''
|
|
|
|
tar xjf ${src}
|
|
|
|
'';
|
|
|
|
|
2016-04-16 20:59:18 +01:00
|
|
|
buildInputs = [ qtbase qtsvg boost qmakeHook ];
|
2014-10-10 11:43:39 +01:00
|
|
|
|
2016-07-17 15:40:27 +01:00
|
|
|
qmakeFlags = [ "phoenix.pro" ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd fritzing-${version}.source
|
|
|
|
'';
|
2016-08-02 16:51:05 +01:00
|
|
|
|
2014-10-10 11:43:39 +01:00
|
|
|
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 ];
|
2016-08-02 16:51:05 +01:00
|
|
|
};
|
2014-10-10 11:43:39 +01:00
|
|
|
}
|