2025-07-26 11:39:35 +02:00

33 lines
717 B
Nix

{
fetchFromGitHub,
rustPlatform,
lib,
}:
rustPlatform.buildRustPackage rec {
pname = "rm-improved";
version = "0.13.1";
src = fetchFromGitHub {
owner = "nivekuil";
repo = "rip";
rev = version;
hash = "sha256-jbXmGPrb9PhmCSUFVcCqg8HjntS2mrYeNuaMsU+zIFI=";
};
cargoHash = "sha256-jfrQkwJ6PcBs5W5F9x7Nt5xPP5f2G6MSb2AISu+g3gE=";
cargoPatches = [
# Cargo.lock out-of-date
./Cargo.lock.patch
];
meta = with lib; {
description = "Replacement for rm with focus on safety, ergonomics and performance";
homepage = "https://github.com/nivekuil/rip";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ nils-degroot ];
mainProgram = "rip";
};
}