2020-10-05 00:54:11 +01:00
|
|
|
{ stdenv
|
|
|
|
, boost
|
|
|
|
, coreutils
|
|
|
|
, cppzmq
|
|
|
|
, curl
|
2021-11-11 04:35:34 +00:00
|
|
|
, libepoxy
|
2020-10-05 00:54:11 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, glm
|
2021-03-16 17:05:31 +00:00
|
|
|
, gtkmm3
|
2020-10-05 00:54:11 +01:00
|
|
|
, lib
|
|
|
|
, libgit2
|
|
|
|
, librsvg
|
|
|
|
, libuuid
|
|
|
|
, libzip
|
|
|
|
, opencascade
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2020-10-05 00:54:11 +01:00
|
|
|
, podofo
|
|
|
|
, python3
|
|
|
|
, sqlite
|
|
|
|
, wrapGAppsHook
|
|
|
|
, zeromq
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "horizon-eda";
|
2022-01-15 21:09:09 +00:00
|
|
|
version = "2.2.0";
|
2020-10-05 00:54:11 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "horizon-eda";
|
|
|
|
repo = "horizon";
|
|
|
|
rev = "v${version}";
|
2022-01-15 21:09:09 +00:00
|
|
|
sha256 = "sha256-MUS1dIsULDJ5DahCtDpbHZq56nltHShli7+uoW1/Tqw=";
|
2020-10-05 00:54:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cppzmq
|
|
|
|
curl
|
2021-11-11 04:35:34 +00:00
|
|
|
libepoxy
|
2020-10-05 00:54:11 +01:00
|
|
|
glm
|
2021-03-16 17:05:31 +00:00
|
|
|
gtkmm3
|
2020-10-05 00:54:11 +01:00
|
|
|
libgit2
|
|
|
|
librsvg
|
|
|
|
libuuid
|
|
|
|
libzip
|
|
|
|
opencascade
|
|
|
|
podofo
|
|
|
|
python3
|
|
|
|
sqlite
|
|
|
|
zeromq
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
boost.dev
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2020-10-05 00:54:11 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
CASROOT = opencascade;
|
|
|
|
|
|
|
|
installFlags = [
|
|
|
|
"INSTALL=${coreutils}/bin/install"
|
|
|
|
"DESTDIR=$(out)"
|
|
|
|
"PREFIX="
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A free EDA software to develop printed circuit boards";
|
|
|
|
homepage = "https://horizon-eda.org";
|
|
|
|
maintainers = with maintainers; [ guserav ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|