flut-renamer: drop

This software currently has no maintainer. Although the upstream project is still maintained, it is not very active. This has prevented the removal of flutter324.
This commit is contained in:
qzylinra
2025-08-26 12:44:21 +08:00
parent 9fa0c1e6d1
commit b3a7b1920f
4 changed files with 1 additions and 1107 deletions
-35
View File
@@ -1,35 +0,0 @@
{
lib,
fetchFromGitHub,
flutter324,
}:
flutter324.buildFlutterApplication rec {
pname = "flut-renamer";
version = "1.5.4";
src = fetchFromGitHub {
owner = "sun-jiao";
repo = "flut-renamer";
tag = version;
hash = "sha256-maPmZwsmmjyvHgutWF+8CIw2NA6HCB4/PPiiCAG+n8I=";
};
pubspecLock = lib.importJSON ./pubspec.lock.json;
postInstall = ''
install -Dm644 assets/desktop.png $out/share/pixmaps/flut-renamer.png
install -Dm644 appimage/flut-renamer.desktop $out/share/applications/flut-renamer.desktop
substituteInPlace $out/share/applications/flut-renamer.desktop \
--replace-fail "Icon=desktop" "Icon=flut-renamer"
'';
meta = {
description = "Bulk file renamer written in flutter";
homepage = "https://github.com/sun-jiao/flut-renamer";
mainProgram = "flut-renamer";
platforms = lib.platforms.linux;
license = with lib.licenses; [ gpl3Plus ];
maintainers = with lib.maintainers; [ ];
};
}
File diff suppressed because it is too large Load Diff
-34
View File
@@ -1,34 +0,0 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p yq nix bash coreutils nix-update common-updater-scripts ripgrep flutter
set -eou pipefail
PACKAGE_DIR="$(realpath "$(dirname "$0")")"
cd "$PACKAGE_DIR"/..
while ! test -f flake.nix; do cd ..; done
NIXPKGS_DIR="$PWD"
latestVersion=$(
list-git-tags --url=https://github.com/sun-jiao/flut-renamer |
rg '^v(.*)' -r '$1' |
sort --version-sort |
tail -n1
)
currentVersion=$(nix-instantiate --eval -E "with import ./. {}; flut-renamer.version or (lib.getVersion flut-renamer)" | tr -d '"')
if [[ "$currentVersion" == "$latestVersion" ]]; then
echo "package is up-to-date: $currentVersion"
exit 0
fi
nix-update --version=$latestVersion flut-renamer
export HOME="$(mktemp -d)"
src="$(nix-build --no-link "$NIXPKGS_DIR" -A flut-renamer.src)"
TMPDIR="$(mktemp -d)"
cp --recursive --no-preserve=mode "$src"/* $TMPDIR
cd $TMPDIR
flutter pub get
yq . pubspec.lock >"$PACKAGE_DIR"/pubspec.lock.json
rm -rf $TMPDIR
+1
View File
@@ -893,6 +893,7 @@ mapAliases {
flatbuffers_2_0 = flatbuffers; # Added 2022-05-12
flatcam = throw "flatcam has been removed because it is unmaintained since 2022 and doesn't support Python > 3.10"; # Added 2025-01-25
flow-editor = flow-control; # Added 2025-03-05
flut-renamer = throw "flut-renamer is unmaintained and has been removed"; # Added 2025-08-26
flutter313 = throw "flutter313 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2024-10-05
flutter316 = throw "flutter316 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2024-10-05
flutter319 = throw "flutter319 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2024-12-03