auctex: rewrite
This commit is contained in:
parent
0b31c01708
commit
8a69718195
@ -1,22 +1,24 @@
|
|||||||
{ lib, stdenv, fetchurl, emacs, texlive, ghostscript }:
|
{ lib, stdenv, fetchurl, emacs, texlive, ghostscript }:
|
||||||
|
|
||||||
let auctex = stdenv.mkDerivation ( rec {
|
let auctex = stdenv.mkDerivation ( rec {
|
||||||
version = "12.3";
|
|
||||||
|
|
||||||
# Make this a valid tex(live-new) package;
|
# Make this a valid tex(live-new) package;
|
||||||
# the pkgs attribute is provided with a hack below.
|
# the pkgs attribute is provided with a hack below.
|
||||||
pname = "auctex";
|
pname = "auctex";
|
||||||
|
version = "12.3";
|
||||||
tlType = "run";
|
tlType = "run";
|
||||||
|
|
||||||
|
|
||||||
outputs = [ "out" "tex" ];
|
outputs = [ "out" "tex" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
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 = ''
|
preConfigure = ''
|
||||||
mkdir -p "$tex"
|
mkdir -p "$tex"
|
||||||
@ -27,11 +29,11 @@ let auctex = stdenv.mkDerivation ( rec {
|
|||||||
"--with-texmf-dir=\${tex}"
|
"--with-texmf-dir=\${tex}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Extensible package for writing and formatting TeX files in GNU Emacs and XEmacs";
|
|
||||||
homepage = "https://www.gnu.org/software/auctex";
|
homepage = "https://www.gnu.org/software/auctex";
|
||||||
platforms = lib.platforms.unix;
|
description = "Extensible package for writing and formatting TeX files in GNU Emacs and XEmacs";
|
||||||
license = lib.licenses.gpl3;
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user