Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / ty / typodermic-public-domain / package.nix
blobfdbdfc0c1e6ecc968c3d1da6b72d2fae21fa51ad
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation {
4   pname = "typodermic-public-domain";
5   version = "2022-11";
7   src = fetchzip {
8     url =
9       "https://typodermicfonts.com/wp-content/uploads/2022/11/typodermic-public-domain-2022-11.zip";
10     hash = "sha256-2hqpehQ4zxSvsw2dtom/fkMAayJKNvOdYs+c+rrvJKw=";
11     curlOptsList = [ "--user-agent" "Mozilla/5.0" ]; # unbreak their wordpress
12     stripRoot = false;
13   };
15   dontUnpack = true;
17   installPhase = ''
18     runHook preInstall
19     mkdir -p $out/share/fonts
20     cp -a "$src/OpenType Fonts" "$out/share/fonts/opentype"
21     runHook postInstall
22   '';
24   meta = {
25     homepage = "https://typodermicfonts.com/";
26     description = "Vintage Typodermic fonts";
27     maintainers = with lib.maintainers; [ ehmry ];
28     license = lib.licenses.cc0;
29   };