From c923094039a5b3d736d1d96995f3da4dcc81d8e1 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 30 Dec 2018 19:00:00 -0500 Subject: [PATCH] cooper-hewitt: init at 2014-06-09 --- pkgs/data/fonts/cooper-hewitt/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/data/fonts/cooper-hewitt/default.nix diff --git a/pkgs/data/fonts/cooper-hewitt/default.nix b/pkgs/data/fonts/cooper-hewitt/default.nix new file mode 100644 index 000000000000..1fa5cff76048 --- /dev/null +++ b/pkgs/data/fonts/cooper-hewitt/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchzip }: + +fetchzip rec { + name = "cooper-hewitt-2014-06-09"; + + url = https://www.cooperhewitt.org/wp-content/uploads/fonts/CooperHewitt-OTF-public.zip; + + postFetch = '' + mkdir -p $out/share/fonts/opentype + unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/ + ''; + + sha256 = "01iwqmjvqkc6fmc2r0486vk06s6f51n9wxzl1pf9z48n0igj4gqd"; + + meta = with stdenv.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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c29d384a77fa..50e56ca92dc9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15465,6 +15465,8 @@ in conway_polynomials = callPackage ../data/misc/conway_polynomials { }; + cooper-hewitt = callPackage ../data/fonts/cooper-hewitt { }; + dosis = callPackage ../data/fonts/dosis { }; dosemu_fonts = callPackage ../data/fonts/dosemu-fonts { };