nixpkgs/pkgs/data/fonts/ankacoder/condensed.nix

25 lines
692 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2019-01-17 21:08:27 +00:00
let version = "1.100"; in
2019-08-13 21:52:01 +00:00
fetchzip {
2019-01-17 21:08:27 +00:00
name = "ankacoder-condensed-${version}";
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoderCondensed.${version}.zip";
postFetch = ''
unzip $downloadedFile
mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
'';
sha256 = "0i80zpr2y9368rg2i6x8jv0g7d03kdyr5h7w9yz7pjd7i9xd8439";
meta = with lib; {
2019-01-17 21:08:27 +00:00
description = "Anka/Coder Condensed font";
homepage = "https://code.google.com/archive/p/anka-coder-fonts";
2019-01-17 21:08:27 +00:00
license = licenses.ofl;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}