Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 717 B view raw
1{ 2 fetchFromGitHub, 3 rustPlatform, 4 lib, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "rm-improved"; 9 version = "0.13.1"; 10 11 src = fetchFromGitHub { 12 owner = "nivekuil"; 13 repo = "rip"; 14 rev = version; 15 hash = "sha256-jbXmGPrb9PhmCSUFVcCqg8HjntS2mrYeNuaMsU+zIFI="; 16 }; 17 18 cargoHash = "sha256-jfrQkwJ6PcBs5W5F9x7Nt5xPP5f2G6MSb2AISu+g3gE="; 19 20 cargoPatches = [ 21 # Cargo.lock out-of-date 22 ./Cargo.lock.patch 23 ]; 24 25 meta = with lib; { 26 description = "Replacement for rm with focus on safety, ergonomics and performance"; 27 homepage = "https://github.com/nivekuil/rip"; 28 license = licenses.gpl3Plus; 29 maintainers = with maintainers; [ nils-degroot ]; 30 mainProgram = "rip"; 31 }; 32}