librepcb: 0.1.0 -> 0.1.2 (#70538)

* Update to new source

* Fix message 'xcb plugin not found'
This commit is contained in:
Luz 2019-10-09 14:59:48 +02:00 committed by Renaud
parent 3f39ab6d53
commit ec13398cdf

View File

@ -1,20 +1,20 @@
{ stdenv, fetchFromGitHub, qtbase, qttools, qmake }: { stdenv, fetchFromGitHub, qtbase, qttools, qmake, wrapQtAppsHook }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "librepcb"; pname = "librepcb";
version = "0.1.0"; version = "0.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "LibrePCB"; owner = "LibrePCB";
repo = "LibrePCB"; repo = "LibrePCB";
fetchSubmodules = true; fetchSubmodules = true;
rev = "d7458d3b3e126499902e1a66a0ef889f516a7c97"; rev = "acdd94d9d2310f79215125b999153e9da88a9376";
sha256 = "19wh0398fzzpd65nh4mmc4jllkrgcrwxvxdby0gb5wh1sqyaqac4"; sha256 = "1bbl01rp75sl6k1cmch7x90v00lck578xvqmb856s9fx75bdgnv5";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ qmake qttools ]; nativeBuildInputs = [ qmake qttools wrapQtAppsHook ];
buildInputs = [ qtbase ]; buildInputs = [ qtbase ];
@ -25,6 +25,10 @@ stdenv.mkDerivation {
cp share/librepcb/fontobene/newstroke.bene $out/share/librepcb/fontobene/ cp share/librepcb/fontobene/newstroke.bene $out/share/librepcb/fontobene/
''; '';
preFixup = ''
wrapQtApp $out/bin/librepcb
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A free EDA software to develop printed circuit boards"; description = "A free EDA software to develop printed circuit boards";
homepage = https://librepcb.org/; homepage = https://librepcb.org/;