about summary refs log tree commit diff
path: root/pkgs/applications/editors/texmacs
diff options
context:
space:
mode:
authorFlorian Franzen <Florian.Franzen@gmail.com>2020-11-19 14:35:19 +0100
committerFlorian Franzen <Florian.Franzen@gmail.com>2020-11-19 14:35:19 +0100
commitd5eb9fbe53dbe8363a65397ae919f7fc8f0a99b3 (patch)
treed576df7c82a3bf799b16cde47e8dc8fdae66c056 /pkgs/applications/editors/texmacs
parent15fb3be1c0e2ffde6cbf298203210cf56e79e95c (diff)
texmacs: 1.99.14 -> 1.99.15
Diffstat (limited to 'pkgs/applications/editors/texmacs')
-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;