biff: rename to bttf, init at 0.1.4 (#525261)

This commit is contained in:
Sandro
2026-06-10 01:08:02 +00:00
committed by GitHub
3 changed files with 40 additions and 41 deletions
-41
View File
@@ -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;
};
})
+39
View File
@@ -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";
};
})
+1
View File
@@ -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