2014-10-10 11:43:39 +01:00
|
|
|
{ stdenv, fetchurl, qt5, boost }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
version = "0.9.0b";
|
|
|
|
name = "fritzing";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://fritzing.org/download/${version}/source-tarball/fritzing-${version}.source.tar_1.bz2";
|
|
|
|
sha256 = "181qnknq1j5x075icpw2qk0sc4wcj9f2hym533vs936is0wxp2gk";
|
|
|
|
};
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
tar xjf ${src}
|
|
|
|
'';
|
|
|
|
|
2015-03-24 15:31:27 +00:00
|
|
|
buildInputs = [ qt5.base qt5.svg boost ];
|
2014-10-10 11:43:39 +01:00
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
cd fritzing-${version}.source
|
2015-03-24 15:31:27 +00:00
|
|
|
echo $PATH
|
2014-10-10 11:43:39 +01:00
|
|
|
qmake PREFIX=$out phoenix.pro
|
|
|
|
'';
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|