mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
c9eb44eab3
* make font derivations fixed-output where applicable * fix dead links * `stdenv.lib` -> `lib` where `stdenv` is not involved * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
26 lines
704 B
Nix
26 lines
704 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "2014.10";
|
|
in fetchzip rec {
|
|
name = "crimson-${version}";
|
|
|
|
url = "https://github.com/skosch/Crimson/archive/fonts-october2014.tar.gz";
|
|
|
|
postFetch = ''
|
|
tar -xzvf $downloadedFile --strip-components=1
|
|
install -m444 -Dt $out/share/fonts/opentype "Desktop Fonts/OTF/"*.otf
|
|
install -m444 -Dt $out/share/doc/${name} README.md
|
|
'';
|
|
|
|
sha256 = "0mg65f0ydyfmb43jqr1f34njpd10w8npw15cbb7z0nxmy4nkl842";
|
|
|
|
meta = with lib; {
|
|
homepage = https://aldusleaf.org/crimson.html;
|
|
description = "A font family inspired by beautiful oldstyle typefaces";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [maintainers.rycee];
|
|
};
|
|
}
|