Unverified Commit 5159765a authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

librepcb: 1.2.0 -> 1.3.0 (#408534)

parents a45c47ed cb222fb8
Loading
Loading
Loading
Loading
+16 −2
Original line number Diff line number Diff line
@@ -10,17 +10,20 @@
  libGLU,
  cmake,
  wrapQtAppsHook,
  rustPlatform,
  cargo,
  rustc,
}:

stdenv.mkDerivation rec {
  pname = "librepcb";
  version = "1.2.0";
  version = "1.3.0";

  src = fetchFromGitHub {
    owner = pname;
    repo = pname;
    rev = version;
    hash = "sha256-/Hw7ZTv2CbDcKuyI27wC46IxCcTnrXDS/Mf7csUTc7w=";
    hash = "sha256-J4y0ikZNuOguN9msmEQzgcY0/REnOEOoDkY/ga+Cfd8=";
    fetchSubmodules = true;
  };

@@ -32,9 +35,20 @@ stdenv.mkDerivation rec {
    wrapQtAppsHook
    opencascade-occt
    libGLU
    rustPlatform.cargoSetupHook
    cargo
    rustc
  ];
  buildInputs = [ qtbase ];

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit src;
    sourceRoot = "source/${cargoRoot}";
    hash = "sha256-1td3WjxbDq2lX7c0trpYRhO82ChNAG/ZABBRsekYtq4=";
  };

  cargoRoot = "libs/librepcb/rust-core";

  meta = with lib; {
    description = "Free EDA software to develop printed circuit boards";
    homepage = "https://librepcb.org/";