From d0ddb3fdb5c5677e05a6615b36f44f04a82cd70a Mon Sep 17 00:00:00 2001 From: "PAEPCKE, Michael" Date: Wed, 3 Jun 2026 06:22:15 +0200 Subject: [PATCH 1/2] bttf: init at 0.1.4 Signed-off-by: PAEPCKE, Michael --- pkgs/by-name/bi/biff/package.nix | 41 -------------------------------- pkgs/by-name/bt/bttf/package.nix | 39 ++++++++++++++++++++++++++++++ pkgs/top-level/aliases.nix | 1 + 3 files changed, 40 insertions(+), 41 deletions(-) delete mode 100644 pkgs/by-name/bi/biff/package.nix create mode 100644 pkgs/by-name/bt/bttf/package.nix diff --git a/pkgs/by-name/bi/biff/package.nix b/pkgs/by-name/bi/biff/package.nix deleted file mode 100644 index 422d74d9c7cc..000000000000 --- a/pkgs/by-name/bi/biff/package.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ - lib, - fetchFromGitHub, - nix-update-script, - rustPlatform, - versionCheckHook, - withLocaleSupport ? true, -}: -rustPlatform.buildRustPackage (finalAttrs: { - pname = "biff"; - version = "0.1.1"; - - src = fetchFromGitHub { - owner = "BurntSushi"; - repo = "biff"; - tag = finalAttrs.version; - hash = "sha256-7KkzmaWbUHrLUd7lADJLPLSeE/RYJvVAEL+FcE5KIhY="; - }; - - buildFeatures = lib.optional withLocaleSupport "locale"; - - cargoHash = "sha256-pGY1KDcsBz5J/mf4c8zDVbivgzfimSy8ruNoa+Pn9p8="; - - doInstallCheck = true; - nativeInstallCheckInputs = [ versionCheckHook ]; - - passthru.updateScript = nix-update-script { }; - - meta = { - description = "Command line tool for datetime arithmetic, parsing, formatting and more"; - homepage = "https://github.com/BurntSushi/biff"; - changelog = "https://github.com/BurntSushi/biff/blob/${finalAttrs.version}/CHANGELOG.md"; - license = [ - lib.licenses.mit - lib.licenses.unlicense - ]; - maintainers = [ lib.maintainers.kpbaks ]; - mainProgram = "biff"; - platforms = lib.platforms.all; - }; -}) diff --git a/pkgs/by-name/bt/bttf/package.nix b/pkgs/by-name/bt/bttf/package.nix new file mode 100644 index 000000000000..65d426a32dc4 --- /dev/null +++ b/pkgs/by-name/bt/bttf/package.nix @@ -0,0 +1,39 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + versionCheckHook, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "bttf"; + version = "0.1.4"; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "BurntSushi"; + repo = "bttf"; + tag = finalAttrs.version; + hash = "sha256-KB9ix/4UTNoxXAT+EuCtcjjFKurwPYrYBcx4H2ctv/E="; + }; + + cargoHash = "sha256-afmzxV+rN2Cw1cQltsml4Z6NsP3E5FEf/VY9RRWE+uc="; + + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + + meta = { + description = "Command line tool for datetime arithmetic, parsing, formatting and more. Replaces biff."; + homepage = "https://github.com/BurntSushi/bttf"; + changelog = "https://github.com/BurntSushi/bttf/releases/tag/${finalAttrs.src.tag}"; + license = with lib.licenses; [ + mit + unlicense + ]; + maintainers = with lib.maintainers; [ + kpbaks + paepcke + ]; + mainProgram = "bttf"; + }; +}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index aadc6a1d69f3..4c17e5182b9d 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -379,6 +379,7 @@ mapAliases { bencode = throw "'bencode' has been removed because it is unmaintained upstream"; # Added 2026-04-09 bfc = throw "bfc has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10 bfr = throw "bfr has been removed, did not update since 2004, fails to build on gcc-15, no homepage"; # Added 2026-01-28 + biff = throw "biff has been renamed to/replaced by 'bttf'"; # Added 2026-06-04 bindle = throw "bindle has been removed since it is vulnerable to CVE-2025-62518 and upstream has been archived"; # Added 2025-10-24 binserve = throw "'binserve' has been removed because it is unmaintained upstream."; # Added 2025-11-29 bitbucket-server-cli = throw "bitbucket-server-cli has been removed due to lack of maintenance upstream."; # Added 2025-05-27 From 451f9f558e8a83f4c7194fb94384d62bc05fc40f Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 10 Jun 2026 03:03:01 +0200 Subject: [PATCH 2/2] bttf: adjust meta.description --- pkgs/by-name/bt/bttf/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/bt/bttf/package.nix b/pkgs/by-name/bt/bttf/package.nix index 65d426a32dc4..94eb71eb8ec7 100644 --- a/pkgs/by-name/bt/bttf/package.nix +++ b/pkgs/by-name/bt/bttf/package.nix @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage (finalAttrs: { doInstallCheck = true; meta = { - description = "Command line tool for datetime arithmetic, parsing, formatting and more. Replaces biff."; + description = "Command line tool for datetime arithmetic, parsing, formatting and more. Replacment for biff"; homepage = "https://github.com/BurntSushi/bttf"; changelog = "https://github.com/BurntSushi/bttf/releases/tag/${finalAttrs.src.tag}"; license = with lib.licenses; [