nixpkgs/pkgs/by-name/sn/sniglet/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
946 B
Nix
Raw Normal View History

2023-01-21 13:54:48 +00:00
{
lib,
fetchFromGitHub,
stdenvNoCC,
}:
2024-07-13 01:59:02 +00:00
stdenvNoCC.mkDerivation {
2023-01-21 13:54:48 +00:00
pname = "sniglet";
version = "2011-05-25";
src = fetchFromGitHub {
owner = "theleagueof";
repo = "sniglet";
2023-01-21 13:54:48 +00:00
rev = "5c6b0860bdd0d8c4f16222e4de3918c384db17c4";
hash = "sha256-fLT2hZT9o1Ka30EB/6oWwmalhVJ+swXLRFG99yRWd2c=";
};
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 = "Fun rounded display face thats great for headlines";
longDescription = ''
A rounded display face thats great for headlines. It comes with a full
character set, so you can type in Icelandic or even French!
'';
homepage = "https://www.theleagueofmoveabletype.com/sniglet";
license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ minijackson ];
};
2024-07-13 01:59:02 +00:00
}