Merge pull request #292371 from Aleksanaa/raider

raider: 1.3.1 -> 2.1.0
This commit is contained in:
Weijia Wang 2024-03-02 13:46:25 +01:00 committed by GitHub
commit ab9b16df5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,10 @@
{ appstream-glib { appstream
, blueprint-compiler , blueprint-compiler
, desktop-file-utils , desktop-file-utils
, fetchFromGitHub , fetchFromGitHub
, gettext , gettext
, glib , glib
, gtk4 , gtk4
, itstool
, lib , lib
, libadwaita , libadwaita
, meson , meson
@ -15,22 +14,22 @@
, stdenv , stdenv
, wrapGAppsHook4 , wrapGAppsHook4
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "raider"; pname = "raider";
version = "1.3.1"; version = "2.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ADBeveridge"; owner = "ADBeveridge";
repo = "raider"; repo = "raider";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-fyE0CsQp2UVh+7bAQo+GHEF0k8Gwl9j4qclh04AQiVI="; hash = "sha256-ZR40sbEKvZxGxRaV5H9D6kBP9ZgUdc425XgIhqidWLI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
appstream-glib appstream
blueprint-compiler blueprint-compiler
desktop-file-utils desktop-file-utils
itstool
meson meson
ninja ninja
pkg-config pkg-config
@ -44,15 +43,23 @@ stdenv.mkDerivation rec {
libadwaita libadwaita
]; ];
postInstall = ''
glib-compile-schemas $out/share/glib-2.0/schemas
'';
meta = with lib; { meta = with lib; {
description = "Securely delete your files"; description = "Permanently delete your files (also named File Shredder)";
homepage = "https://apps.gnome.org/app/com.github.ADBeveridge.Raider"; 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; license = licenses.gpl3Plus;
maintainers = with maintainers; [ benediktbroich ]; mainProgram = "raider";
maintainers = with maintainers; [ benediktbroich aleksana ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }