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..94eb71eb8ec7 --- /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. Replacment for 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 2225120649c0..f63cb9db18ca 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -383,6 +383,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