2021-07-21 07:28:18 +00:00
|
|
|
{ fetchFromGitHub, rustPlatform, lib }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rm-improved";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.13.1";
|
2021-07-21 07:28:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nivekuil";
|
|
|
|
repo = "rip";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = version;
|
|
|
|
hash = "sha256-jbXmGPrb9PhmCSUFVcCqg8HjntS2mrYeNuaMsU+zIFI=";
|
2021-07-21 07:28:18 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
cargoHash = "sha256-05ebuPa8N+hz5BnqAdOCL6dnBqVsB9VN4HxfwL99gK0=";
|
|
|
|
|
|
|
|
cargoPatches = [
|
|
|
|
# Cargo.lock out-of-date
|
|
|
|
./Cargo.lock.patch
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2021-07-21 07:28:18 +00:00
|
|
|
description = "Replacement for rm with focus on safety, ergonomics and performance";
|
|
|
|
homepage = "https://github.com/nivekuil/rip";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2021-07-21 07:28:18 +00:00
|
|
|
maintainers = with maintainers; [ nils-degroot ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "rip";
|
2021-07-21 07:28:18 +00:00
|
|
|
};
|
|
|
|
}
|