nixpkgs/pkgs/data/fonts/cooper-hewitt/default.nix

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

29 lines
873 B
Nix
Raw Normal View History

2023-01-24 20:17:01 +00:00
{ lib, stdenvNoCC, fetchzip }:
2018-12-31 00:00:00 +00:00
2023-01-24 20:17:01 +00:00
stdenvNoCC.mkDerivation rec {
pname = "cooper-hewitt";
version = "unstable-2014-06-09";
2018-12-31 00:00:00 +00:00
2023-01-24 20:17:01 +00:00
src = fetchzip {
url = "https://web.archive.org/web/20221004145117/https://www.cooperhewitt.org/wp-content/uploads/fonts/CooperHewitt-OTF-public.zip";
hash = "sha256-bTlEXQeYNNspvnNdvQhJn6CNBrcSKYWuNWF/N6+3Vb0=";
};
installPhase = ''
runHook preInstall
2018-12-31 00:00:00 +00:00
mkdir -p $out/share/fonts/opentype
2023-01-24 20:17:01 +00:00
mv *.otf $out/share/fonts/opentype
2018-12-31 00:00:00 +00:00
2023-01-24 20:17:01 +00:00
runHook postInstall
'';
meta = with lib; {
homepage = "https://www.cooperhewitt.org/open-source-at-cooper-hewitt/cooper-hewitt-the-typeface-by-chester-jenkins/";
2018-12-31 00:00:00 +00:00
description = "A contemporary sans serif, with characters composed of modified-geometric curves and arches";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.marsam ];
};
}