horizon-eda: 2.6.0 -> 2.7.0 (#414276)

This commit is contained in:
Peder Bergebakken Sundt
2025-06-17 04:33:07 +02:00
committed by GitHub
3 changed files with 13 additions and 9 deletions
+3 -7
View File
@@ -24,13 +24,13 @@ in
# This base is used in horizon-eda and python3Packages.horizon-eda
rec {
pname = "horizon-eda";
version = "2.6.0";
version = "2.7.0";
src = fetchFromGitHub {
owner = "horizon-eda";
repo = "horizon";
rev = "v${version}";
hash = "sha256-0ikCR10r/WPb+H+Ut2GO6y4A/9bctJLanL/RR4r9GWs=";
hash = "sha256-Y2oopRycYSxtiKuQZSfTBVP7RmpZ0JA+QyZgnrpoAes=";
};
nativeBuildInputs = [
@@ -56,13 +56,9 @@ rec {
];
env = {
NIX_CFLAGS_COMPILE = toString [
"-fpermissive"
];
CASROOT = opencascade-occt;
};
CASROOT = opencascade-occt;
meta = {
description = "Free EDA software to develop printed circuit boards";
homepage = "https://horizon-eda.org";
-1
View File
@@ -17,7 +17,6 @@ stdenv.mkDerivation {
version
src
meta
CASROOT
env
;
@@ -1,5 +1,6 @@
{
buildPythonPackage,
fetchpatch,
horizon-eda,
pycairo,
python,
@@ -15,13 +16,21 @@ buildPythonPackage {
version
src
meta
CASROOT
env
;
pyproject = false;
disabled = pythonOlder "3.9";
patches = [
# Replaces osmesa with EGL_PLATFORM_SURFACELESS_MESA
(fetchpatch {
url = "https://github.com/horizon-eda/horizon/commit/663a8adaa1cb7eae7a824de07df8909bc33677c3.patch";
hash = "sha256-g0rP9NBDdDijh35Y2h4me9N5R/mjCn+2w7uhnv9bweY=";
})
];
buildInputs = base.buildInputs ++ [
python
];