1{ stdenv, lib, fetchFromGitHub
2, qtbase, qttools, cmake, wrapQtAppsHook
3}:
4
5stdenv.mkDerivation rec {
6 pname = "librepcb";
7 version = "0.1.7";
8
9 src = fetchFromGitHub {
10 owner = pname;
11 repo = pname;
12 rev = version;
13 sha256 = "sha256-zqvvc3CHqdRWVUFt4BkH5Vq50/FKNvMNW2NvGyfWwFM=";
14 fetchSubmodules = true;
15 };
16
17 nativeBuildInputs = [ cmake qttools wrapQtAppsHook ];
18 buildInputs = [ qtbase ];
19
20 meta = with lib; {
21 description = "A free EDA software to develop printed circuit boards";
22 homepage = "https://librepcb.org/";
23 maintainers = with maintainers; [ luz thoughtpolice ];
24 license = licenses.gpl3Plus;
25 platforms = platforms.linux;
26 };
27}