nixpkgs/pkgs/applications/misc/rm-improved/default.nix

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

29 lines
710 B
Nix
Raw Normal View History

{ fetchFromGitHub, rustPlatform, lib }:
rustPlatform.buildRustPackage rec {
pname = "rm-improved";
2024-03-16 17:54:43 +03:00
version = "0.13.1";
src = fetchFromGitHub {
owner = "nivekuil";
repo = "rip";
2024-03-16 17:54:43 +03:00
rev = version;
hash = "sha256-jbXmGPrb9PhmCSUFVcCqg8HjntS2mrYeNuaMsU+zIFI=";
};
2024-03-16 17:54:43 +03:00
cargoHash = "sha256-05ebuPa8N+hz5BnqAdOCL6dnBqVsB9VN4HxfwL99gK0=";
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";
2024-03-16 17:54:43 +03:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ nils-degroot ];
mainProgram = "rip";
};
}