Skip to content

Commit

Permalink
Merge pull request #99964 from guserav/horizon-eda
Browse files Browse the repository at this point in the history
horizon-eda: init at 1.2.1
  • Loading branch information
JohnAZoidberg committed Oct 10, 2020
2 parents 8d3a7d9 + 6a4c197 commit 384470e
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Expand Up @@ -3319,6 +3319,12 @@
githubId = 10654650;
name = "Guillaume Koenig";
};
guserav = {
email = "guserav@users.noreply.github.com";
github = "guserav";
githubId = 28863828;
name = "guserav";
};
guyonvarch = {
email = "joris@guyonvarch.me";
github = "guyonvarch";
Expand Down
75 changes: 75 additions & 0 deletions pkgs/applications/science/electronics/horizon-eda/default.nix
@@ -0,0 +1,75 @@
{ stdenv
, boost
, coreutils
, cppzmq
, curl
, epoxy
, fetchFromGitHub
, glm
, gnome3
, lib
, libgit2
, librsvg
, libuuid
, libzip
, opencascade
, pkgconfig
, podofo
, python3
, sqlite
, wrapGAppsHook
, zeromq
}:

stdenv.mkDerivation rec {
pname = "horizon-eda";
version = "1.2.1";

src = fetchFromGitHub {
owner = "horizon-eda";
repo = "horizon";
rev = "v${version}";
sha256 = "0b1bi99xdhbkb2vdb9y6kyqm0h8y0q168jf2xi8kd0z7kww8li2p";
};

buildInputs = [
cppzmq
curl
epoxy
glm
gnome3.gtkmm
libgit2
librsvg
libuuid
libzip
opencascade
podofo
python3
sqlite
zeromq
];

nativeBuildInputs = [
boost.dev
pkgconfig
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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -26570,6 +26570,8 @@ in

fped = callPackage ../applications/science/electronics/fped { };

horizon-eda = callPackage ../applications/science/electronics/horizon-eda {};

# this is a wrapper for kicad.base and kicad.libraries
kicad = callPackage ../applications/science/electronics/kicad { };
kicad-small = kicad.override { pname = "kicad-small"; with3d = false; };
Expand Down

0 comments on commit 384470e

Please sign in to comment.