From d76288b0ddab1e744c9d37b1582f7bcc4ac87d28 Mon Sep 17 00:00:00 2001 From: Leah Amelia Chen Date: Sat, 11 May 2024 00:02:18 +0200 Subject: 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. --- pkgs/tools/misc/fontfor/default.nix | 42 ------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 pkgs/tools/misc/fontfor/default.nix (limited to 'pkgs/tools') 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"; - }; -} -- cgit 1.4.1