mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
31 lines
710 B
Nix
31 lines
710 B
Nix
|
{ 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}
|
||
|
'';
|
||
|
|
||
|
buildInputs = [ qt5 boost ];
|
||
|
|
||
|
configurePhase = ''
|
||
|
cd fritzing-${version}.source
|
||
|
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 ];
|
||
|
};
|
||
|
}
|