mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{ lib, fetchFromGitHub, stdenvNoCC }:
|
||
|
||
stdenvNoCC.mkDerivation {
|
||
pname = "sorts-mill-goudy";
|
||
version = "2011-05-25";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "theleagueof";
|
||
repo = "sorts-mill-goudy";
|
||
rev = "06072890c7b05f274215a24f17449655ccb2c8af";
|
||
hash = "sha256-NEfLBJatUmdUL5gJEimJHZfOd1OtI7pxTN97eWMODyM=";
|
||
};
|
||
|
||
installPhase = ''
|
||
runHook preInstall
|
||
|
||
install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
|
||
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
|
||
|
||
runHook postInstall
|
||
'';
|
||
|
||
meta = {
|
||
description = "‘revival’ of Goudy Oldstyle and Italic";
|
||
longDescription = ''
|
||
A 'revival' of Goudy Oldstyle and Italic, with features including small
|
||
capitals (in the roman only), oldstyle and lining figures, superscripts
|
||
and subscripts, fractions, ligatures, class-based kerning, case-sensitive
|
||
forms, and capital spacing. There is support for many languages using
|
||
latin scripts.
|
||
'';
|
||
homepage = "https://www.theleagueofmoveabletype.com/sorts-mill-goudy";
|
||
license = lib.licenses.ofl;
|
||
maintainers = with lib.maintainers; [ minijackson ];
|
||
};
|
||
}
|