2018-07-20 17:44:44 -07:00
|
|
|
{ stdenv, fetchFromGitHub, qtbase, qttools, qmake }:
|
2018-01-11 01:20:00 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "librepcb-${version}";
|
2018-11-26 13:33:39 -08:00
|
|
|
version = "0.1.0";
|
2018-01-11 01:20:00 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LibrePCB";
|
|
|
|
repo = "LibrePCB";
|
|
|
|
fetchSubmodules = true;
|
2018-11-26 13:33:39 -08:00
|
|
|
rev = "d7458d3b3e126499902e1a66a0ef889f516a7c97";
|
|
|
|
sha256 = "19wh0398fzzpd65nh4mmc4jllkrgcrwxvxdby0gb5wh1sqyaqac4";
|
2018-01-11 01:20:00 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
|
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
|
|
|
qmakeFlags = ["-r"];
|
|
|
|
|
2018-06-30 04:56:12 -07:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/share/librepcb/fontobene
|
|
|
|
cp share/librepcb/fontobene/newstroke.bene $out/share/librepcb/fontobene/
|
|
|
|
'';
|
|
|
|
|
2018-01-11 01:20:00 -08:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A free EDA software to develop printed circuit boards";
|
2019-04-14 16:25:45 -07:00
|
|
|
homepage = https://librepcb.org/;
|
2018-01-11 01:20:00 -08:00
|
|
|
maintainers = with maintainers; [ luz ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|