diff --git a/pkgs/data/fonts/ferrum/default.nix b/pkgs/data/fonts/ferrum/default.nix new file mode 100644 index 000000000000..bbe185bd8486 --- /dev/null +++ b/pkgs/data/fonts/ferrum/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchzip }: + +let + majorVersion = "0"; + minorVersion = "200"; + pname = "ferrum"; +in + +fetchzip rec { + name = "${pname}-font-${majorVersion}.${minorVersion}"; + + url = "http://dotcolon.net/DL/font/${pname}.zip"; + sha256 = "1w1b3ch7ik4264f05lxms01ls0aargvlx770a9szm682dfmizn8w"; + + postFetch = '' + mkdir -p $out/share/fonts/opentype/${pname} + unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} + ''; + + meta = with stdenv.lib; { + homepage = "http://dotcolon.net/font/${pname}/"; + description = "A decorative font."; + platforms = platforms.all; + maintainers = with maintainers; [ leenaars ]; + license = licenses.cc0; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cd5b8f35747f..f4f9a45a8506 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14794,6 +14794,8 @@ with pkgs; faba-mono-icons = callPackage ../data/icons/faba-mono-icons { }; + ferrum = callPackage ../data/fonts/ferrum { }; + fixedsys-excelsior = callPackage ../data/fonts/fixedsys-excelsior { }; graphs = callPackage ../data/misc/graphs { };