nixpkgs/pkgs/applications/misc/raider/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

66 lines
1.6 KiB
Nix
Raw Normal View History

2024-02-29 18:01:19 +00:00
{ appstream
2022-12-14 15:34:04 +00:00
, blueprint-compiler
, desktop-file-utils
, fetchFromGitHub
, gettext
, glib
, gtk4
, lib
, libadwaita
, meson
, mesonEmulatorHook
, ninja
, pkg-config
, stdenv
, wrapGAppsHook4
}:
2024-02-29 18:01:19 +00:00
2022-12-14 15:34:04 +00:00
stdenv.mkDerivation rec {
pname = "raider";
2024-05-04 03:30:35 +00:00
version = "3.0.0";
2022-12-14 15:34:04 +00:00
src = fetchFromGitHub {
owner = "ADBeveridge";
repo = "raider";
rev = "v${version}";
2024-05-04 03:30:35 +00:00
hash = "sha256-zqM2B1M7E4CRupd09rvFYG7H7wBd2hTWnjN3xadS36w=";
2022-12-14 15:34:04 +00:00
};
nativeBuildInputs = [
2024-02-29 18:01:19 +00:00
appstream
2022-12-14 15:34:04 +00:00
blueprint-compiler
desktop-file-utils
meson
ninja
pkg-config
wrapGAppsHook4
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
buildInputs = [
gtk4
libadwaita
];
meta = with lib; {
2024-02-29 18:01:19 +00:00
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";
2022-12-14 15:34:04 +00:00
license = licenses.gpl3Plus;
2024-02-29 18:01:19 +00:00
mainProgram = "raider";
2024-02-29 18:01:43 +00:00
maintainers = with maintainers; [ benediktbroich aleksana ];
2022-12-14 15:34:04 +00:00
platforms = platforms.unix;
};
}