about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2021-05-14 14:17:29 -0300
committerGitHub <noreply@github.com>2021-05-14 14:17:29 -0300
commitf6fa95f6f1f5dc633fc4cadc4d8f95c9490b6108 (patch)
tree33c66d328db672f2764ba9026bbbcc1bc353f0b4 /pkgs/tools/typesetting
parente931e7269639fbfe6e978a4dbf3d9ad48a5ea6fb (diff)
parent8a697181955f4a77778347e699ff7cde865b9d10 (diff)
downloadnixlib-f6fa95f6f1f5dc633fc4cadc4d8f95c9490b6108.tar
nixlib-f6fa95f6f1f5dc633fc4cadc4d8f95c9490b6108.tar.gz
nixlib-f6fa95f6f1f5dc633fc4cadc4d8f95c9490b6108.tar.bz2
nixlib-f6fa95f6f1f5dc633fc4cadc4d8f95c9490b6108.tar.lz
nixlib-f6fa95f6f1f5dc633fc4cadc4d8f95c9490b6108.tar.xz
nixlib-f6fa95f6f1f5dc633fc4cadc4d8f95c9490b6108.tar.zst
nixlib-f6fa95f6f1f5dc633fc4cadc4d8f95c9490b6108.zip
Merge pull request #122797 from AndersonTorres/quick-patches
Emacs packages updates
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/auctex/default.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/tools/typesetting/tex/auctex/default.nix b/pkgs/tools/typesetting/tex/auctex/default.nix
index 6a9a2cb464c6..f19ddaebdfa1 100644
--- a/pkgs/tools/typesetting/tex/auctex/default.nix
+++ b/pkgs/tools/typesetting/tex/auctex/default.nix
@@ -1,22 +1,24 @@
 { lib, stdenv, fetchurl, emacs, texlive, ghostscript }:
 
 let auctex = stdenv.mkDerivation ( rec {
-  version = "12.3";
-
   # Make this a valid tex(live-new) package;
   # the pkgs attribute is provided with a hack below.
   pname = "auctex";
+  version = "12.3";
   tlType = "run";
 
-
   outputs = [ "out" "tex" ];
 
   src = fetchurl {
     url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
-    sha256 = "1pd99hbhci3l1n0lmzn803svqwl47kld6172gwkwjmwlnqqgxm1g";
+    hash = "sha256-L9T+MLaUV8knf+IE0+g8hHK89QDI/kqBDXREBhdMqd0=";
   };
 
-  buildInputs = [ emacs texlive.combined.scheme-basic ghostscript ];
+  buildInputs = [
+    emacs
+    ghostscript
+    texlive.combined.scheme-basic
+  ];
 
   preConfigure = ''
     mkdir -p "$tex"
@@ -27,11 +29,11 @@ let auctex = stdenv.mkDerivation ( rec {
     "--with-texmf-dir=\${tex}"
   ];
 
-  meta = {
-    description = "Extensible package for writing and formatting TeX files in GNU Emacs and XEmacs";
+  meta = with lib; {
     homepage = "https://www.gnu.org/software/auctex";
-    platforms = lib.platforms.unix;
-    license = lib.licenses.gpl3;
+    description = "Extensible package for writing and formatting TeX files in GNU Emacs and XEmacs";
+    license = licenses.gpl3Plus;
+    platforms = platforms.unix;
   };
 });