sagetex: create pkgs fixpoint for texlive using mkDerivation
This commit is contained in:
parent
4319e1ceb2
commit
2020863f24
|
@ -4,10 +4,9 @@
|
||||||
, texlive
|
, texlive
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: rec {
|
||||||
pname = "sagetex";
|
pname = "sagetex";
|
||||||
version = "3.6.1";
|
version = "3.6.1";
|
||||||
passthru.tlType = "run";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sagemath";
|
owner = "sagemath";
|
||||||
|
@ -30,6 +29,11 @@ stdenv.mkDerivation rec {
|
||||||
cp -va *.sty *.cfg *.def "$path/"
|
cp -va *.sty *.cfg *.def "$path/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tlType = "run";
|
||||||
|
pkgs = [ finalAttrs.finalPackage ];
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Embed code, results of computations, and plots from Sage into LaTeX documents";
|
description = "Embed code, results of computations, and plots from Sage into LaTeX documents";
|
||||||
homepage = "https://github.com/sagemath/sagetex";
|
homepage = "https://github.com/sagemath/sagetex";
|
||||||
|
@ -37,4 +41,4 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ alexnortung ];
|
maintainers = with maintainers; [ alexnortung ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue