diff --git a/pkgs/data/fonts/ankacoder/condensed.nix b/pkgs/data/fonts/ankacoder/condensed.nix new file mode 100644 index 000000000000..08a46628e65e --- /dev/null +++ b/pkgs/data/fonts/ankacoder/condensed.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchzip }: + +let version = "1.100"; in +fetchzip rec { + 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 stdenv.lib; { + description = "Anka/Coder Condensed font"; + homepage = https://code.google.com/archive/p/anka-coder-fonts; + license = licenses.ofl; + maintainers = with maintainers; [ dtzWill ]; + platforms = platforms.all; + }; +} + diff --git a/pkgs/data/fonts/ankacoder/default.nix b/pkgs/data/fonts/ankacoder/default.nix new file mode 100644 index 000000000000..32270607028c --- /dev/null +++ b/pkgs/data/fonts/ankacoder/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchzip }: + +let version = "1.100"; in +fetchzip rec { + 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 stdenv.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; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a65624f6ebc9..68ffc3916421 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15383,6 +15383,9 @@ in android-udev-rules = callPackage ../os-specific/linux/android-udev-rules { }; + ankacoder = callPackage ../data/fonts/ankacoder { }; + ankacoder-condensed = callPackage ../data/fonts/ankacoder/condensed.nix { }; + anonymousPro = callPackage ../data/fonts/anonymous-pro { }; ant-theme = callPackage ../data/themes/ant-theme { };