mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 18:03:59 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
70 lines
1.6 KiB
Nix
70 lines
1.6 KiB
Nix
{
|
|
appstream,
|
|
blueprint-compiler,
|
|
desktop-file-utils,
|
|
fetchFromGitHub,
|
|
gtk4,
|
|
lib,
|
|
libadwaita,
|
|
meson,
|
|
mesonEmulatorHook,
|
|
ninja,
|
|
pkg-config,
|
|
stdenv,
|
|
wrapGAppsHook4,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "raider";
|
|
version = "3.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ADBeveridge";
|
|
repo = "raider";
|
|
rev = "v${version}";
|
|
hash = "sha256-LkGSEUoruWfEq/ttM3LkA/UjHc3ZrlvGF44HsJLntAo=";
|
|
};
|
|
|
|
nativeBuildInputs =
|
|
[
|
|
appstream
|
|
blueprint-compiler
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
]
|
|
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
|
mesonEmulatorHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
libadwaita
|
|
];
|
|
|
|
meta = with lib; {
|
|
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
|
|
aleksana
|
|
];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|