summary refs log tree commit diff
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2021-11-29 11:16:47 +0200
committerDoron Behar <doron.behar@gmail.com>2021-11-29 14:41:57 +0200
commit8d227fe05c146aee8ae6ded8ad2168f074f1b203 (patch)
treed6700b58f3acb7791877d1fd40088e36b97ce7db
parentd57f82e306a86458b06534f6e2f5f9948c30afd7 (diff)
downloadnixpkgs-8d227fe05c146aee8ae6ded8ad2168f074f1b203.tar
nixpkgs-8d227fe05c146aee8ae6ded8ad2168f074f1b203.tar.gz
nixpkgs-8d227fe05c146aee8ae6ded8ad2168f074f1b203.tar.bz2
nixpkgs-8d227fe05c146aee8ae6ded8ad2168f074f1b203.tar.lz
nixpkgs-8d227fe05c146aee8ae6ded8ad2168f074f1b203.tar.xz
nixpkgs-8d227fe05c146aee8ae6ded8ad2168f074f1b203.tar.zst
nixpkgs-8d227fe05c146aee8ae6ded8ad2168f074f1b203.zip
wxmaxima: 21.05.2 -> 21.11.0
- Remove the `Version-` prefix from the version.
- Add @doronbehar as maintainer.
-rw-r--r--pkgs/applications/science/math/wxmaxima/default.nix31
1 files changed, 24 insertions, 7 deletions
diff --git a/pkgs/applications/science/math/wxmaxima/default.nix b/pkgs/applications/science/math/wxmaxima/default.nix
index 57e4a6f1d33..76d2c782b4d 100644
--- a/pkgs/applications/science/math/wxmaxima/default.nix
+++ b/pkgs/applications/science/math/wxmaxima/default.nix
@@ -1,21 +1,37 @@
-{ lib, stdenv, fetchFromGitHub
-, wrapGAppsHook, cmake, gettext
-, maxima, wxGTK, gnome }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, wrapGAppsHook
+, cmake
+, gettext
+, maxima
+, wxGTK
+, gnome
+}:
 
 stdenv.mkDerivation rec {
   pname = "wxmaxima";
-  version = "21.05.2";
+  version = "21.11.0";
 
   src = fetchFromGitHub {
     owner = "wxMaxima-developers";
     repo = "wxmaxima";
     rev = "Version-${version}";
-    sha256 = "sha256-HPqdxGrPxe5FZNOimTpAP+c9VpDBkXu3Z1c1Aaf3+UA=";
+    sha256 = "sha256-LwuqldMGsmFR8xrNg5vsrogmdi5ysqEQGWITM460IZk=";
   };
 
-  buildInputs = [ wxGTK maxima gnome.adwaita-icon-theme ];
+  buildInputs = [
+    wxGTK
+    maxima
+    # So it won't embed svg files into headers.
+    gnome.adwaita-icon-theme
+  ];
 
-  nativeBuildInputs = [ wrapGAppsHook cmake gettext ];
+  nativeBuildInputs = [
+    wrapGAppsHook
+    cmake
+    gettext
+  ];
 
   preConfigure = ''
     gappsWrapperArgs+=(--prefix PATH ":" ${maxima}/bin)
@@ -25,6 +41,7 @@ stdenv.mkDerivation rec {
     description = "Cross platform GUI for the computer algebra system Maxima";
     license = licenses.gpl2;
     homepage = "https://wxmaxima-developers.github.io/wxmaxima/";
+    maintainers = with maintainers; [ doronbehar ];
     platforms = platforms.linux;
   };
 }