diff --git a/pkgs/applications/misc/raider/default.nix b/pkgs/applications/misc/raider/default.nix index cf368fbe79dc..2152a7e6f229 100644 --- a/pkgs/applications/misc/raider/default.nix +++ b/pkgs/applications/misc/raider/default.nix @@ -1,11 +1,10 @@ -{ appstream-glib +{ appstream , blueprint-compiler , desktop-file-utils , fetchFromGitHub , gettext , glib , gtk4 -, itstool , lib , libadwaita , meson @@ -15,22 +14,22 @@ , stdenv , wrapGAppsHook4 }: + stdenv.mkDerivation rec { pname = "raider"; - version = "1.3.1"; + version = "2.1.0"; src = fetchFromGitHub { owner = "ADBeveridge"; repo = "raider"; rev = "v${version}"; - hash = "sha256-fyE0CsQp2UVh+7bAQo+GHEF0k8Gwl9j4qclh04AQiVI="; + hash = "sha256-ZR40sbEKvZxGxRaV5H9D6kBP9ZgUdc425XgIhqidWLI="; }; nativeBuildInputs = [ - appstream-glib + appstream blueprint-compiler desktop-file-utils - itstool meson ninja pkg-config @@ -44,15 +43,23 @@ stdenv.mkDerivation rec { libadwaita ]; - postInstall = '' - glib-compile-schemas $out/share/glib-2.0/schemas - ''; - meta = with lib; { - description = "Securely delete your files"; - homepage = "https://apps.gnome.org/app/com.github.ADBeveridge.Raider"; + description = "Permanently delete your files (also named File Shredder)"; + longDescription = '' + Raider is a shredding program built for the GNOME + desktop. It is meant to remove files from your + computer permanently. Within a certain limit, it is + effective. However, the way data is written physically + to SSDs at the hardware level ensures that shredding + is never perfect, and no software can fix that. + However, top-level agencies are usually the only ones + who can recover such data, due to the time, effort, + money and patience required to extract it effectively. + ''; + homepage = "https://apps.gnome.org/Raider"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ benediktbroich ]; + mainProgram = "raider"; + maintainers = with maintainers; [ benediktbroich aleksana ]; platforms = platforms.unix; }; }