File tree Expand file tree Collapse file tree 3 files changed +1107
-0
lines changed
pkgs/by-name/fl/flut-renamer Expand file tree Collapse file tree 3 files changed +1107
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ flutter324 ,
5+ } :
6+
7+ flutter324 . buildFlutterApplication rec {
8+ pname = "flut-renamer" ;
9+ version = "1.5.4" ;
10+
11+ src = fetchFromGitHub {
12+ owner = "sun-jiao" ;
13+ repo = "flut-renamer" ;
14+ tag = version ;
15+ hash = "sha256-maPmZwsmmjyvHgutWF+8CIw2NA6HCB4/PPiiCAG+n8I=" ;
16+ } ;
17+
18+ pubspecLock = lib . importJSON ./pubspec.lock.json ;
19+
20+ postInstall = ''
21+ install -Dm644 assets/desktop.png $out/share/pixmaps/flut-renamer.png
22+ install -Dm644 appimage/flut-renamer.desktop $out/share/applications/flut-renamer.desktop
23+ substituteInPlace $out/share/applications/flut-renamer.desktop \
24+ --replace-fail "Icon=desktop" "Icon=flut-renamer"
25+ '' ;
26+
27+ meta = {
28+ description = "Bulk file renamer written in flutter" ;
29+ homepage = "https://github.com/sun-jiao/flut-renamer" ;
30+ mainProgram = "flut-renamer" ;
31+ platforms = lib . platforms . linux ;
32+ license = with lib . licenses ; [ gpl3Plus ] ;
33+ maintainers = with lib . maintainers ; [ nayeko ] ;
34+ } ;
35+ }
You can’t perform that action at this time.
0 commit comments