mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
tex-gyre-*-math: Move to tex-gyre-math
package set
The `tex-gyre-*-math` fonts are moved to the `tex-gyre-math` set for consistency with `tex-gyre` and to allow them to be easily installed together. Aliases are created for backwards-compatibility.
This commit is contained in:
parent
87c12bda03
commit
140f2a3584
@ -1,4 +1,4 @@
|
|||||||
{ variant, stdenv, fetchzip }:
|
{ stdenv, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
variants = {
|
variants = {
|
||||||
@ -27,9 +27,10 @@ let
|
|||||||
outputHash = "0pa433cgshlypbyrrlp3qq0wg972rngcp37pr8pxdfshgz13q1mm";
|
outputHash = "0pa433cgshlypbyrrlp3qq0wg972rngcp37pr8pxdfshgz13q1mm";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
current = variants."${variant}";
|
|
||||||
dotless_version = builtins.replaceStrings ["."] [""] current.version;
|
mkVariant = variant: current:
|
||||||
in stdenv.mkDerivation rec {
|
let dotless_version = builtins.replaceStrings ["."] [""] current.version; in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
name = "tex-gyre-${variant}-math-${current.version}";
|
name = "tex-gyre-${variant}-math-${current.version}";
|
||||||
version = "${current.version}";
|
version = "${current.version}";
|
||||||
|
|
||||||
@ -63,4 +64,6 @@ in stdenv.mkDerivation rec {
|
|||||||
maintainers = with maintainers; [ siddharthist ];
|
maintainers = with maintainers; [ siddharthist ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
in
|
||||||
|
stdenv.lib.mapAttrs mkVariant variants
|
||||||
|
@ -212,6 +212,10 @@ mapAliases (rec {
|
|||||||
telepathy_qt = telepathy-qt; # added 2018-02-25
|
telepathy_qt = telepathy-qt; # added 2018-02-25
|
||||||
telepathy_qt5 = libsForQt5.telepathy; # added 2015-12-19
|
telepathy_qt5 = libsForQt5.telepathy; # added 2015-12-19
|
||||||
telepathy_salut = telepathy-salut; # added 2018-02-25
|
telepathy_salut = telepathy-salut; # added 2018-02-25
|
||||||
|
tex-gyre-bonum-math = tex-gyre-math.bonum; # added 2018-04-03
|
||||||
|
tex-gyre-pagella-math = tex-gyre-math.pagella; # added 2018-04-03
|
||||||
|
tex-gyre-schola-math = tex-gyre-math.schola; # added 2018-04-03
|
||||||
|
tex-gyre-termes-math = tex-gyre-math.termes; # added 2018-04-03
|
||||||
tftp_hpa = tftp-hpa; # added 2015-04-03
|
tftp_hpa = tftp-hpa; # added 2015-04-03
|
||||||
transmission_gtk = transmission-gtk; # added 2018-01-06
|
transmission_gtk = transmission-gtk; # added 2018-01-06
|
||||||
transmission_remote_gtk = transmission-remote-gtk; # added 2018-01-06
|
transmission_remote_gtk = transmission-remote-gtk; # added 2018-01-06
|
||||||
|
@ -14539,13 +14539,7 @@ with pkgs;
|
|||||||
|
|
||||||
tex-gyre = callPackages ../data/fonts/tex-gyre { };
|
tex-gyre = callPackages ../data/fonts/tex-gyre { };
|
||||||
|
|
||||||
tex-gyre-bonum-math = callPackage ../data/fonts/tex-gyre-math { variant = "bonum"; };
|
tex-gyre-math = callPackages ../data/fonts/tex-gyre-math { };
|
||||||
|
|
||||||
tex-gyre-pagella-math = callPackage ../data/fonts/tex-gyre-math { variant = "pagella"; };
|
|
||||||
|
|
||||||
tex-gyre-schola-math = callPackage ../data/fonts/tex-gyre-math { variant = "schola"; };
|
|
||||||
|
|
||||||
tex-gyre-termes-math = callPackage ../data/fonts/tex-gyre-math { variant = "termes"; };
|
|
||||||
|
|
||||||
tipa = callPackage ../data/fonts/tipa { };
|
tipa = callPackage ../data/fonts/tipa { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user