forked from mirrors/nixpkgs
76 lines
1.1 KiB
Nix
76 lines
1.1 KiB
Nix
{ stdenv
|
|
, boost
|
|
, coreutils
|
|
, cppzmq
|
|
, curl
|
|
, libepoxy
|
|
, fetchFromGitHub
|
|
, glm
|
|
, gtkmm3
|
|
, lib
|
|
, libgit2
|
|
, librsvg
|
|
, libuuid
|
|
, libzip
|
|
, opencascade
|
|
, pkg-config
|
|
, podofo
|
|
, python3
|
|
, sqlite
|
|
, wrapGAppsHook
|
|
, zeromq
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "horizon-eda";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "horizon-eda";
|
|
repo = "horizon";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-MUS1dIsULDJ5DahCtDpbHZq56nltHShli7+uoW1/Tqw=";
|
|
};
|
|
|
|
buildInputs = [
|
|
cppzmq
|
|
curl
|
|
libepoxy
|
|
glm
|
|
gtkmm3
|
|
libgit2
|
|
librsvg
|
|
libuuid
|
|
libzip
|
|
opencascade
|
|
podofo
|
|
python3
|
|
sqlite
|
|
zeromq
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
boost.dev
|
|
pkg-config
|
|
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;
|
|
};
|
|
}
|