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

24 lines
640 B
Nix
Raw Normal View History

{ fetchFromGitHub, rustPlatform, lib }:
rustPlatform.buildRustPackage rec {
pname = "rm-improved";
version = "0.13.0";
cargoSha256 = "0wgpr6gx9dpvf02xgvrdbyiqfz1k9vipnvriz3jg0cz7n1afqisj";
src = fetchFromGitHub {
owner = "nivekuil";
repo = "rip";
rev = "0.13.0";
sha256 = "0d065xia4mwdhxkiqfg7pic6scfzipzmsvvx7l6l97w62lzpiqx3";
};
meta = with lib; {
description = "Replacement for rm with focus on safety, ergonomics and performance";
homepage = "https://github.com/nivekuil/rip";
maintainers = with maintainers; [ nils-degroot ];
mainProgram = "rip";
license = licenses.gpl3Plus;
};
}