about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2020-11-19 19:04:07 +0100
committerGitHub <noreply@github.com>2020-11-19 19:04:07 +0100
commite3e4fc07119e4468cd9a45593ccc62684e6bf8d9 (patch)
tree2e9154552b70da8781db50b9c0973e0855bb180a
parent96a4eba4ce51308a4b47c9c060b9cccbb982bea8 (diff)
parentd5eb9fbe53dbe8363a65397ae919f7fc8f0a99b3 (diff)
Merge pull request #104274 from FlorianFranzen/texmacs-1.99.15
texmacs: 1.99.14 -> 1.99.15
-rw-r--r--pkgs/applications/editors/texmacs/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/editors/texmacs/default.nix b/pkgs/applications/editors/texmacs/default.nix
index 32892c7c26e7f..9c37d00c9ee17 100644
--- a/pkgs/applications/editors/texmacs/default.nix
+++ b/pkgs/applications/editors/texmacs/default.nix
@@ -1,4 +1,4 @@
-{ lib, mkDerivation, callPackage, fetchurl, fetchpatch,
+{ lib, mkDerivation, callPackage, fetchFromGitHub,
   guile_1_8, qtbase, xmodmap, which, freetype,
   libjpeg,
   sqlite,
@@ -16,7 +16,7 @@
 
 let
   pname = "TeXmacs";
-  version = "1.99.14";
+  version = "1.99.15";
   common = callPackage ./common.nix {
     inherit tex extraFonts chineseFonts japaneseFonts koreanFonts;
   };
@@ -24,9 +24,11 @@ in
 mkDerivation {
   name = "${pname}-${version}";
 
-  src = fetchurl {
-    url = "https://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${version}-src.tar.gz";
-    sha256 = "1zbl1ddhppgnn3j213jl1b9mn8zmwnknxiqswm25p4llj0mqcgna";
+  src = fetchFromGitHub {
+    owner = "texmacs";
+    repo = "texmacs";
+    rev = "v${version}";
+    sha256 = "04585hdh98fvyhj4wsxf69xal2wvfa6lg76gad8pr6ww9abi5105";
   };
 
   enableParallelBuilding = true;