horizon-eda: fix build (#358910)
This commit is contained in:
commit
b020b8ecfd
@ -1,21 +1,22 @@
|
|||||||
{ lib
|
{
|
||||||
, cmake
|
lib,
|
||||||
, cppzmq
|
cmake,
|
||||||
, curl
|
cppzmq,
|
||||||
, fetchFromGitHub
|
curl,
|
||||||
, glm
|
fetchFromGitHub,
|
||||||
, gtkmm3
|
glm,
|
||||||
, libarchive
|
gtkmm3,
|
||||||
, libepoxy
|
libarchive,
|
||||||
, libgit2
|
libepoxy,
|
||||||
, librsvg
|
libgit2,
|
||||||
, libuuid
|
librsvg,
|
||||||
, meson
|
libuuid,
|
||||||
, ninja
|
meson,
|
||||||
, opencascade-occt_7_6
|
ninja,
|
||||||
, pkg-config
|
opencascade-occt_7_6,
|
||||||
, podofo
|
pkg-config,
|
||||||
, sqlite
|
podofo,
|
||||||
|
sqlite,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
opencascade-occt = opencascade-occt_7_6;
|
opencascade-occt = opencascade-occt_7_6;
|
||||||
@ -54,13 +55,22 @@ rec {
|
|||||||
sqlite
|
sqlite
|
||||||
];
|
];
|
||||||
|
|
||||||
|
env = {
|
||||||
|
NIX_CFLAGS_COMPILE = toString [
|
||||||
|
"-fpermissive"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
CASROOT = opencascade-occt;
|
CASROOT = opencascade-occt;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Free EDA software to develop printed circuit boards";
|
description = "Free EDA software to develop printed circuit boards";
|
||||||
homepage = "https://horizon-eda.org";
|
homepage = "https://horizon-eda.org";
|
||||||
maintainers = with maintainers; [ guserav jue89 ];
|
maintainers = with lib.maintainers; [
|
||||||
license = licenses.gpl3Plus;
|
guserav
|
||||||
platforms = platforms.linux;
|
jue89
|
||||||
|
];
|
||||||
|
license = lib.licenses.gpl3Plus;
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,17 +1,25 @@
|
|||||||
{ stdenv
|
{
|
||||||
, boost
|
stdenv,
|
||||||
, callPackage
|
boost,
|
||||||
, coreutils
|
callPackage,
|
||||||
, libspnav
|
coreutils,
|
||||||
, python3
|
libspnav,
|
||||||
, wrapGAppsHook3
|
python3,
|
||||||
|
wrapGAppsHook3,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
base = callPackage ./base.nix { };
|
base = callPackage ./base.nix { };
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
inherit (base) pname version src meta CASROOT;
|
inherit (base)
|
||||||
|
pname
|
||||||
|
version
|
||||||
|
src
|
||||||
|
meta
|
||||||
|
CASROOT
|
||||||
|
env
|
||||||
|
;
|
||||||
|
|
||||||
# provide base for python module
|
# provide base for python module
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
Reference in New Issue
Block a user