2022-10-06 18:32:54 +00:00
|
|
|
{ lib, stdenv, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "cooper-hewitt";
|
|
|
|
version = "unstable-2014-06-09";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://www.cooperhewitt.org/wp-content/uploads/fonts/CooperHewitt-OTF-public.zip";
|
|
|
|
hash = "sha256-bTlEXQeYNNspvnNdvQhJn6CNBrcSKYWuNWF/N6+3Vb0=";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
installPhase = ''
|
|
|
|
install -D -m 644 -t "$out/share/fonts/opentype" *.otf
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.cooperhewitt.org/open-source-at-cooper-hewitt/cooper-hewitt-the-typeface-by-chester-jenkins/";
|
|
|
|
description = "A contemporary sans serif, with characters composed of modified-geometric curves and arches";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|