pinact: 1.0.0 -> 1.1.2 and set CGO_ENABLED=0 (#368078)
[NixPkgs.git] / pkgs / applications / science / electronics / librepcb / default.nix
blobef645d36b079d66ab0070aba8ac30c18088bda51
2   stdenv,
3   lib,
4   fetchFromGitHub,
5   qtbase,
6   qttools,
7   qtsvg,
8   qt5compat,
9   opencascade-occt,
10   libGLU,
11   cmake,
12   wrapQtAppsHook,
15 stdenv.mkDerivation rec {
16   pname = "librepcb";
17   version = "1.2.0";
19   src = fetchFromGitHub {
20     owner = pname;
21     repo = pname;
22     rev = version;
23     hash = "sha256-/Hw7ZTv2CbDcKuyI27wC46IxCcTnrXDS/Mf7csUTc7w=";
24     fetchSubmodules = true;
25   };
27   nativeBuildInputs = [
28     cmake
29     qttools
30     qtsvg
31     qt5compat
32     wrapQtAppsHook
33     opencascade-occt
34     libGLU
35   ];
36   buildInputs = [ qtbase ];
38   meta = with lib; {
39     description = "Free EDA software to develop printed circuit boards";
40     homepage = "https://librepcb.org/";
41     maintainers = with maintainers; [
42       luz
43       thoughtpolice
44     ];
45     license = licenses.gpl3Plus;
46     platforms = platforms.linux;
47   };