Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

62 lines
1.1 KiB
Nix

{
stdenv,
lib,
fetchFromGitHub,
qtbase,
qttools,
qtsvg,
qt5compat,
opencascade-occt,
libGLU,
cmake,
wrapQtAppsHook,
rustPlatform,
cargo,
rustc,
}:
stdenv.mkDerivation rec {
pname = "librepcb";
version = "1.3.0";
src = fetchFromGitHub {
owner = "librepcb";
repo = "librepcb";
rev = version;
hash = "sha256-J4y0ikZNuOguN9msmEQzgcY0/REnOEOoDkY/ga+Cfd8=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
qttools
qtsvg
qt5compat
wrapQtAppsHook
opencascade-occt
libGLU
rustPlatform.cargoSetupHook
cargo
rustc
];
buildInputs = [ qtbase ];
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src 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/";
maintainers = with maintainers; [
luz
thoughtpolice
];
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}