Commit 2ab16b04 authored by aleksana's avatar aleksana
Browse files

raider: 1.3.1 -> 2.1.0

parent 5c31c4a2
Loading
Loading
Loading
Loading
+19 −12
Original line number Diff line number Diff line
{ 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,14 +43,22 @@ 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;
    mainProgram = "raider";
    maintainers = with maintainers; [ benediktbroich ];
    platforms = platforms.unix;
  };