about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/texmacs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/texmacs/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/editors/texmacs/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/nixpkgs/pkgs/applications/editors/texmacs/default.nix b/nixpkgs/pkgs/applications/editors/texmacs/default.nix
index 6046a3aa313d..dd5e5e61b29c 100644
--- a/nixpkgs/pkgs/applications/editors/texmacs/default.nix
+++ b/nixpkgs/pkgs/applications/editors/texmacs/default.nix
@@ -1,4 +1,4 @@
-{ lib, mkDerivation, callPackage, fetchFromGitHub,
+{ lib, mkDerivation, callPackage, fetchurl,
   guile_1_8, qtbase, xmodmap, which, freetype,
   libjpeg,
   sqlite,
@@ -16,19 +16,17 @@
 
 let
   pname = "TeXmacs";
-  version = "1.99.15";
+  version = "1.99.18";
   common = callPackage ./common.nix {
     inherit tex extraFonts chineseFonts japaneseFonts koreanFonts;
   };
 in
 mkDerivation {
-  name = "${pname}-${version}";
+  inherit pname version;
 
-  src = fetchFromGitHub {
-    owner = "texmacs";
-    repo = "texmacs";
-    rev = "v${version}";
-    sha256 = "04585hdh98fvyhj4wsxf69xal2wvfa6lg76gad8pr6ww9abi5105";
+  src = fetchurl {
+    url = "https://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${version}-src.tar.gz";
+    sha256 = "0il3fwgw20421aj90wg8kyhkwk6lbgb3bb2g5qamh5lk90yj725i";
   };
 
   nativeBuildInputs = [ cmake pkg-config ];