From 8b88a5ba96a17ed5b8b486c892dd133c7445566d Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Sat, 31 May 2025 17:22:24 +0200 Subject: [PATCH] watershot: drop Many users report that the package no longer works. https://github.com/NixOS/nixpkgs/issues/412752 https://github.com/Kirottu/watershot/issues/38 https://github.com/Kirottu/watershot/issues/32 --- pkgs/by-name/wa/watershot/package.nix | 51 --------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 pkgs/by-name/wa/watershot/package.nix diff --git a/pkgs/by-name/wa/watershot/package.nix b/pkgs/by-name/wa/watershot/package.nix deleted file mode 100644 index 51854c095e6e..000000000000 --- a/pkgs/by-name/wa/watershot/package.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ - lib, - rustPlatform, - fetchFromGitHub, - pkg-config, - wayland, - libxkbcommon, - fontconfig, - makeWrapper, - grim, -}: -rustPlatform.buildRustPackage rec { - pname = "watershot"; - version = "0.2.2"; - - src = fetchFromGitHub { - owner = "Kirottu"; - repo = "watershot"; - rev = "v${version}"; - hash = "sha256-l9CPSB8TCw901ugl5FLVZDkp2rLha0yXMewK7LxXIiE="; - }; - - useFetchCargoVendor = true; - cargoHash = "sha256-ETyz2fmcDPvrYA08ZrDuIE9ve8T74mBn//lU5ZNQt1A="; - - nativeBuildInputs = [ - pkg-config - wayland - makeWrapper - ]; - - buildInputs = [ - wayland - fontconfig - libxkbcommon - ]; - - postInstall = '' - wrapProgram $out/bin/watershot \ - --prefix PATH : ${lib.makeBinPath [ grim ]} - ''; - - meta = with lib; { - platforms = with platforms; linux; - description = "Simple wayland native screenshot tool"; - mainProgram = "watershot"; - homepage = "https://github.com/Kirottu/watershot"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ lord-valen ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index c81c29b7a3b1..b3c93401730d 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2020,6 +2020,7 @@ mapAliases { wal_e = throw "wal_e was removed as it is unmaintained upstream and depends on the removed boto package; upstream recommends using wal-g or pgbackrest"; # Added 2024-09-22 wapp = tclPackages.wapp; # Added 2024-10-02 wasm-bindgen-cli = wasm-bindgen-cli_0_2_100; + watershot = throw "'watershot' has been removed as it is unmaintained upstream and no longer works"; # Added 2025-06-01 wayfireApplications-unwrapped = throw '' 'wayfireApplications-unwrapped.wayfire' has been renamed to/replaced by 'wayfire' 'wayfireApplications-unwrapped.wayfirePlugins' has been renamed to/replaced by 'wayfirePlugins'