-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
horizon: 20190716 -> 1.0.0 #56497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
horizon: 20190716 -> 1.0.0 #56497
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| { stdenv, fetchFromGitHub, pkgconfig, sqlite, libyamlcpp, libuuid, gnome3, epoxy, librsvg, zeromq, cppzmq, glm, libgit2, curl, boost, python3, opencascade, libzip, podofo, wrapGAppsHook }: | ||
|
|
||
| stdenv.mkDerivation rec { | ||
| pname = "horizon-eda"; | ||
| version = "1.0.0"; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "horizon-eda"; | ||
| repo = "horizon"; | ||
| rev = "3f777bd2501b953981d64cf2054c265ce8d65c02"; | ||
| sha256 = "1d40lfgylwl3srqazyjgw9l3n7i82xrvkjcxvpx7ddyzy1d2aqmr"; | ||
| }; | ||
|
|
||
| buildInputs = [ sqlite libyamlcpp libuuid gnome3.gtkmm epoxy librsvg zeromq cppzmq glm libgit2 curl boost python3 libzip podofo opencascade ]; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would prefer if you were to sort this alphabetically (easier for me to do a quick comparison against https://docs.horizon-eda.org/en/latest/build-linux.html), but more importantly place each entry on a new line, like so: |
||
|
|
||
| nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; | ||
|
|
||
| NIX_CFLAGS_COMPILE = "-I${opencascade}/include/oce"; | ||
|
|
||
| installPhase = '' | ||
| mkdir -p $out/bin | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Golfing: I believe this reduces to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We now have an install target that also installs icons, desktop entry and such. |
||
| cp build/horizon-eda $out/bin/ | ||
| cp build/horizon-imp $out/bin/ | ||
| ''; | ||
|
|
||
| enableParallelBuilding = true; | ||
|
|
||
| meta = with stdenv.lib; { | ||
| description = "A free EDA software to develop printed circuit boards"; | ||
| homepage = "https://github.com/horizon-eda/horizon"; | ||
| maintainers = with maintainers; [ luz ]; | ||
| license = licenses.gpl3; | ||
| platforms = platforms.linux; | ||
| }; | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.