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

24 lines
663 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2019-01-17 21:08:27 +00:00
let version = "1.100"; in
2019-08-13 22:52:01 +01:00
fetchzip {
2019-01-17 21:08:27 +00:00
name = "ankacoder-${version}";
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoder.${version}.zip";
postFetch = ''
unzip $downloadedFile
mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
'';
sha256 = "1jqx9micfmiarqh9xp330gl96v3vxbwzz9cmg2vi845n9md4im85";
meta = with lib; {
2019-01-17 21:08:27 +00:00
description = "Anka/Coder fonts";
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;
};
}