2020-11-20 13:31:19 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub
|
2021-11-06 16:35:58 +00:00
|
|
|
, qtbase, qttools, cmake, wrapQtAppsHook
|
2020-11-20 13:31:19 +00:00
|
|
|
}:
|
2018-01-11 09:20:00 +00:00
|
|
|
|
2020-11-20 13:31:19 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "librepcb";
|
2021-11-06 16:35:58 +00:00
|
|
|
version = "0.1.6";
|
2018-01-11 09:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-11-20 13:31:19 +00:00
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-11-06 16:35:58 +00:00
|
|
|
sha256 = "0gzf3asdgdicpikb412134ybqnbbark948yrfhvba2w4i9cwbk2r";
|
2020-11-20 13:31:19 +00:00
|
|
|
fetchSubmodules = true;
|
2018-01-11 09:20:00 +00:00
|
|
|
};
|
|
|
|
|
2021-11-06 16:35:58 +00:00
|
|
|
nativeBuildInputs = [ cmake qttools wrapQtAppsHook ];
|
2018-01-11 09:20:00 +00:00
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-11 09:20:00 +00:00
|
|
|
description = "A free EDA software to develop printed circuit boards";
|
2020-11-20 13:31:19 +00:00
|
|
|
homepage = "https://librepcb.org/";
|
|
|
|
maintainers = with maintainers; [ luz thoughtpolice ];
|
2021-03-03 00:03:37 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-11-20 13:31:19 +00:00
|
|
|
platforms = platforms.linux;
|
2018-01-11 09:20:00 +00:00
|
|
|
};
|
|
|
|
}
|