diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-10-15 22:31:27 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-10-15 22:31:34 +0200 |
commit | 94c8c31bee161b6e64c3c99e8031f5532fa6a6d8 (patch) | |
tree | ed7f794f9c0f69a3cfc780e77118a6cdaf4e5560 /pkgs/applications/science | |
parent | 1d9483230a9d2d9ed8e9167cdb0f982fedc60e86 (diff) | |
parent | b78c85fff7fd91c1d326b4a07979e151b5a10411 (diff) |
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts: - pkgs/development/python-modules/numba/default.nix
Diffstat (limited to 'pkgs/applications/science')
4 files changed, 8 insertions, 102 deletions
diff --git a/pkgs/applications/science/geometry/drgeo/default.nix b/pkgs/applications/science/geometry/drgeo/default.nix deleted file mode 100644 index 0cc8bcb0fb386..0000000000000 --- a/pkgs/applications/science/geometry/drgeo/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl -, intltool, libtool, pkg-config }: - -stdenv.mkDerivation rec { - pname = "drgeo"; - version = "1.1.0"; - - hardeningDisable = [ "format" ]; - - src = fetchurl { - url = "mirror://sourceforge/ofset/${pname}-${version}.tar.gz"; - sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc"; - }; - patches = [ ./struct.patch ]; - - nativeBuildInputs = [ pkg-config intltool ]; - buildInputs = [libglade gtk2 guile libxml2 - perl libtool ]; - - prebuild = '' - cp drgeo.desktop.in drgeo.desktop - ''; - - meta = with lib; { - description = "Interactive geometry program"; - homepage = "https://sourceforge.net/projects/ofset"; - license = licenses.gpl2; - platforms = platforms.linux; - }; -} diff --git a/pkgs/applications/science/geometry/drgeo/struct.patch b/pkgs/applications/science/geometry/drgeo/struct.patch deleted file mode 100644 index 7364cae5f58dc..0000000000000 --- a/pkgs/applications/science/geometry/drgeo/struct.patch +++ /dev/null @@ -1,68 +0,0 @@ --- drgeo-1.1.0/debian/patches/00list -++ drgeo-1.1.0/debian/patches/00list -@ -7 +7 @@ - -07-fix_ftbfs-gcc-4.5.dpatch -nly in patch2: -nchanged: --- drgeo-1.1.0.orig/debian/patches/07-fix_ftbfs-gcc-4.5.dpatch -++ drgeo-1.1.0/debian/patches/07-fix_ftbfs-gcc-4.5.dpatch -@ -0,0 +1,58 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 07-fix_ftbfs-gcc-4.5.dpatch by Fabrice Coutadeur <fabric...@ubuntu.com> -## -## Description: fix FTBFS with gcc 4.5 with undefined reference to -## `drgeoDialogData' -## Author: Petr Gajdos <pgaj...@suse.cz> -## Origin: https://build.opensuse.org/package/files?package=drgeo&project=openSUSE%3A11.3%3AContrib - -...@dpatch@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' drgeo-1.1.0~/geo/drgeo_dialog.cc drgeo-1.1.0/geo/drgeo_dialog.cc ---- drgeo-1.1.0~/geo/drgeo_dialog.cc 2003-10-27 10:17:25.000000000 +0000 -+++ drgeo-1.1.0/geo/drgeo_dialog.cc 2010-11-13 07:26:03.258908003 +0000 -@@ -38,12 +38,7 @@ - // Used in the style dialod callback, I know it's ugly, but so easy - static drgeoFigure *selected_figure; - --struct --{ -- drgeoPoint mouse; -- drgeoFigure *figure; --} --drgeoDialogData; -+DialogData drgeoDialogData; - - - static void drgeo_edit_dialog_cb (GtkWidget * dialog, -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' drgeo-1.1.0~/geo/drgeo_dialog.h drgeo-1.1.0/geo/drgeo_dialog.h ---- drgeo-1.1.0~/geo/drgeo_dialog.h 2003-06-12 22:30:23.000000000 +0000 -+++ drgeo-1.1.0/geo/drgeo_dialog.h 2010-11-13 07:26:03.258908003 +0000 -@@ -34,4 +34,11 @@ - } - - #endif /* __cplusplus */ -+ -+typedef struct -+{ -+ drgeoPoint mouse; -+ drgeoFigure *figure; -+} DialogData; -+ - #endif -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' drgeo-1.1.0~/geo/drgeo_figure.cc drgeo-1.1.0/geo/drgeo_figure.cc ---- drgeo-1.1.0~/geo/drgeo_figure.cc 2005-07-14 07:30:01.000000000 +0000 -+++ drgeo-1.1.0/geo/drgeo_figure.cc 2010-11-13 07:26:03.258908003 +0000 -@@ -48,12 +48,7 @@ - #include "drgeo_dialog.h" - #include "traite.h" - --extern struct --{ -- drgeoPoint mouse; -- drgeoFigure *figure; --} --drgeoDialogData; -+extern DialogData drgeoDialogData; - - typedef struct drgeoSearchValue - { diff --git a/pkgs/applications/science/logic/surelog/default.nix b/pkgs/applications/science/logic/surelog/default.nix index d8c762de60c19..5c7be408bf4a6 100644 --- a/pkgs/applications/science/logic/surelog/default.nix +++ b/pkgs/applications/science/logic/surelog/default.nix @@ -11,17 +11,18 @@ , uhdm , antlr4 , capnproto +, nlohmann_json }: stdenv.mkDerivation (finalAttrs: { pname = "surelog"; - version = "1.73"; + version = "1.76"; src = fetchFromGitHub { owner = "chipsalliance"; repo = finalAttrs.pname; rev = "v${finalAttrs.version}"; - hash = "sha256-z47Eqs3fP53pbEb3s66CqMiO4UpEwox+fKakxtRBakQ="; + hash = "sha256-Vg9NZrgzFRVIsEbZQe8DItDhFOVG1XZoQWBrLzVNwLU="; fetchSubmodules = false; # we use all dependencies from nix }; @@ -43,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: { uhdm capnproto antlr4.runtime.cpp + nlohmann_json ]; cmakeFlags = [ @@ -50,6 +52,7 @@ stdenv.mkDerivation (finalAttrs: { "-DSURELOG_USE_HOST_UHDM=On" "-DSURELOG_USE_HOST_GTEST=On" "-DSURELOG_USE_HOST_ANTLR=On" + "-DSURELOG_USE_HOST_JSON=On" "-DANTLR_JAR_LOCATION=${antlr4.jarLocation}" ]; diff --git a/pkgs/applications/science/logic/uhdm/default.nix b/pkgs/applications/science/logic/uhdm/default.nix index c611ccdf5b010..7312f989cb66b 100644 --- a/pkgs/applications/science/logic/uhdm/default.nix +++ b/pkgs/applications/science/logic/uhdm/default.nix @@ -9,13 +9,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "UHDM"; - version = "1.74"; + # When updating this package, also consider updating science/logic/surelog + version = "1.76"; src = fetchFromGitHub { owner = "chipsalliance"; repo = finalAttrs.pname; rev = "v${finalAttrs.version}"; - hash = "sha256-DiwLo/3RcXY+wG2+7aDx4p6UuQm/eNX/kG35TJzIbe0="; + hash = "sha256-Q/u5lvILYDT5iScES3CTPIm/B5apoOHXOQmCsZ73NlU="; fetchSubmodules = false; # we use all dependencies from nix }; |