Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #249224 from donovanglover/thud

thud: rename from go-thumbnailer, 0.1.0 -> 0.3.0

authored by Emily and committed by GitHub 62adb5fc 1133b4d6

+44 -45
-40
pkgs/applications/misc/go-thumbnailer/default.nix
··· 1 - { lib 2 - , buildGoModule 3 - , fetchFromGitHub 4 - , pkg-config 5 - , vips 6 - }: 7 - 8 - buildGoModule rec { 9 - pname = "go-thumbnailer"; 10 - version = "0.1.0"; 11 - 12 - src = fetchFromGitHub { 13 - owner = "donovanglover"; 14 - repo = pname; 15 - rev = version; 16 - sha256 = "sha256-sgd5kNnDXcSesGT+OignZ+APjNSxSP0Z60dr8cWO6sU="; 17 - }; 18 - 19 - buildInputs = [ 20 - vips 21 - ]; 22 - 23 - nativeBuildInputs = [ 24 - pkg-config 25 - ]; 26 - 27 - vendorHash = "sha256-4zgsoExdhEqvycGerNVxZ6LnjeRRO+f6DhJdINR5ZyI="; 28 - 29 - postInstall = '' 30 - mkdir -p $out/share/thumbnailers 31 - substituteAll ${./go.thumbnailer} $out/share/thumbnailers/go.thumbnailer 32 - ''; 33 - 34 - meta = with lib; { 35 - description = "A cover thumbnailer written in Go for performance and reliability"; 36 - homepage = "https://github.com/donovanglover/go-thumbnailer"; 37 - license = licenses.mit; 38 - maintainers = with maintainers; [ donovanglover ]; 39 - }; 40 - }
···
-3
pkgs/applications/misc/go-thumbnailer/go.thumbnailer
··· 1 - [Thumbnailer Entry] 2 - Exec=@out@/bin/go-thumbnailer %s %i %o 3 - MimeType=inode/directory
···
+43
pkgs/by-name/th/thud/package.nix
···
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , installShellFiles 5 + }: 6 + 7 + rustPlatform.buildRustPackage rec { 8 + pname = "thud"; 9 + version = "0.3.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "donovanglover"; 13 + repo = "thud"; 14 + rev = version; 15 + hash = "sha256-3MxmVKs0huXPnL9mqDniaIarkAvJmwSOMii2ntXtOos="; 16 + }; 17 + 18 + cargoHash = "sha256-Hk3HlcA253FAA9hw5p9W+Mvec84zLo7bEmM2/BbmjiM="; 19 + 20 + nativeBuildInputs = [ 21 + installShellFiles 22 + ]; 23 + 24 + postInstall = '' 25 + install -Dm644 assets/thud.thumbnailer $out/share/thumbnailers/thud.thumbnailer 26 + substituteInPlace $out/share/thumbnailers/thud.thumbnailer --replace "thud" "$out/bin/thud" 27 + 28 + installManPage man/thud.1 29 + 30 + installShellCompletion --cmd thud \ 31 + --bash <(cat completions/thud.bash) \ 32 + --fish <(cat completions/thud.fish) \ 33 + --zsh <(cat completions/_thud) 34 + ''; 35 + 36 + meta = with lib; { 37 + description = "Generate directory thumbnails for GTK-based file browsers from images inside them"; 38 + homepage = "https://github.com/donovanglover/thud"; 39 + license = licenses.mit; 40 + maintainers = with maintainers; [ donovanglover ]; 41 + mainProgram = "thud"; 42 + }; 43 + }
+1
pkgs/top-level/aliases.nix
··· 682 go-mk = throw "go-mk has been dropped due to the lack of maintenance from upstream since 2015"; # Added 2022-06-02 683 go-pup = throw "'go-pup' has been renamed to/replaced by 'pup'"; # Converted to throw 2022-02-22 684 go-repo-root = throw "go-repo-root has been dropped due to the lack of maintenance from upstream since 2014"; # Added 2022-06-02 685 gometer = throw "gometer has been removed from nixpkgs because goLance stopped offering Linux support"; # Added 2023-02-10 686 gpgstats = throw "gpgstats has been removed: upstream is gone"; # Added 2022-02-06 687 gpshell = throw "gpshell has been removed, because it was unmaintained in nixpkgs"; # added 2021-12-17
··· 682 go-mk = throw "go-mk has been dropped due to the lack of maintenance from upstream since 2015"; # Added 2022-06-02 683 go-pup = throw "'go-pup' has been renamed to/replaced by 'pup'"; # Converted to throw 2022-02-22 684 go-repo-root = throw "go-repo-root has been dropped due to the lack of maintenance from upstream since 2014"; # Added 2022-06-02 685 + go-thumbnailer = thud; # Added 2023-09-21 686 gometer = throw "gometer has been removed from nixpkgs because goLance stopped offering Linux support"; # Added 2023-02-10 687 gpgstats = throw "gpgstats has been removed: upstream is gone"; # Added 2022-02-06 688 gpshell = throw "gpshell has been removed, because it was unmaintained in nixpkgs"; # added 2021-12-17
-2
pkgs/top-level/all-packages.nix
··· 5501 5502 go-neb = callPackage ../applications/networking/instant-messengers/go-neb { }; 5503 5504 - go-thumbnailer = callPackage ../applications/misc/go-thumbnailer { }; 5505 - 5506 google-cursor = callPackage ../data/icons/google-cursor { }; 5507 5508 geckodriver = callPackage ../development/tools/geckodriver {
··· 5501 5502 go-neb = callPackage ../applications/networking/instant-messengers/go-neb { }; 5503 5504 google-cursor = callPackage ../data/icons/google-cursor { }; 5505 5506 geckodriver = callPackage ../development/tools/geckodriver {