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 {
|
2022-10-04 16:50:41 +00:00
|
|
|
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
|
|
|
|
2022-10-04 14:49:08 +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
|
|
|
|
'';
|
2022-10-04 14:49:08 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|