2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "ankacoder";
|
|
|
|
version = "1.100";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoder.${version}.zip";
|
|
|
|
stripRoot = false;
|
|
|
|
hash = "sha256-14ItaSQ/fO/WDq0O4SXGWnZgiM0kayJrWQgsKb7bsyY=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp *.ttf $out/share/fonts/truetype
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Anka/Coder fonts";
|
|
|
|
homepage = "https://code.google.com/archive/p/anka-coder-fonts";
|
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
2023-02-02 18:25:31 +00:00
|
|
|
}
|