diff options
author | Leah Amelia Chen <hi@pluie.me> | 2024-05-11 00:02:18 +0200 |
---|---|---|
committer | Leah Amelia Chen <hi@pluie.me> | 2024-05-11 00:06:10 +0200 |
commit | d76288b0ddab1e744c9d37b1582f7bcc4ac87d28 (patch) | |
tree | 624fadaea219a0058c086fe61d0437537b0cd4d4 /pkgs/tools | |
parent | 9defb411b4a6639ecff3f2f4757f88514289b6c2 (diff) |
fontfor: 0.4.1 -> 0.4.3, modernize
Switched to the `pkgs/by-name` convention, reformatted using `nixfmt-rfc-style`, and added an update script.
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/fontfor/default.nix | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/pkgs/tools/misc/fontfor/default.nix b/pkgs/tools/misc/fontfor/default.nix deleted file mode 100644 index b973317b722e3..0000000000000 --- a/pkgs/tools/misc/fontfor/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, cmake -, pkg-config -, expat -, fontconfig -, freetype -}: - -rustPlatform.buildRustPackage rec { - pname = "fontfor"; - version = "0.4.1"; - - src = fetchFromGitHub { - owner = "7sDream"; - repo = "fontfor"; - rev = "v${version}"; - sha256 = "sha256-/UoZ+5X6Csoyqc+RSP0Hree7NtCDs7BjsqcpALxAazc="; - }; - - nativeBuildInputs = [ - cmake - pkg-config - ]; - buildInputs = [ - expat - fontconfig - freetype - ]; - - cargoHash = "sha256-j1Qf0IKlAUEyiGAUoF7IlEbPIv2pGkn+YMCoFdF9oUE="; - - meta = with lib; { - description = "Find fonts which can show a specified character and preview them in browser"; - homepage = "https://github.com/7sDream/fontfor"; - license = with licenses; [ gpl3Plus ]; - maintainers = with maintainers; [ shamilton ]; - platforms = platforms.linux; - mainProgram = "fontfor"; - }; -} |