Merge pull request #188033 from oberblastmeister/trashy

trashy: init at 1.0.3

authored by Mario Rodas and committed by GitHub 963ee529 09bff127

+39
+6
maintainers/maintainer-list.nix
··· 9686 9686 githubId = 3359345; 9687 9687 name = "obadz"; 9688 9688 }; 9689 + oberblastmeister = { 9690 + email = "littlebubu.shu@gmail.com"; 9691 + github = "oberblastmeister"; 9692 + githubId = 61095988; 9693 + name = "Brian Shu"; 9694 + }; 9689 9695 obsidian-systems-maintenance = { 9690 9696 name = "Obsidian Systems Maintenance"; 9691 9697 email = "maintainer@obsidian.systems";
+31
pkgs/tools/misc/trashy/default.nix
··· 1 + { lib, fetchFromGitHub, rustPlatform, installShellFiles }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "trashy"; 5 + version = "1.0.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "oberblastmeister"; 9 + repo = "trashy"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-b50Q7knJzXKDfM1kw6wLvXunhgOXVs+zYvZx/NYqMdk="; 12 + }; 13 + 14 + cargoSha256 = "sha256-2hNNLXuAHd1bquhHimniqryTVMfBmPAOossggICScqQ="; 15 + 16 + nativeBuildInputs = [ installShellFiles ]; 17 + 18 + preFixup = '' 19 + installShellCompletion --cmd trash \ 20 + --bash <($out/bin/trash completions bash) \ 21 + --fish <($out/bin/trash completions fish) \ 22 + --zsh <($out/bin/trash completions zsh) \ 23 + ''; 24 + 25 + meta = with lib; { 26 + description = "A simple, fast, and featureful alternative to rm and trash-cli."; 27 + homepage = "https://github.com/oberblastmeister/trashy"; 28 + license = with licenses; [ asl20 /* or */ mit ]; 29 + maintainers = with maintainers; [ oberblastmeister ]; 30 + }; 31 + }
+2
pkgs/top-level/all-packages.nix
··· 11593 11593 11594 11594 trash-cli = callPackage ../tools/misc/trash-cli { }; 11595 11595 11596 + trashy = callPackage ../tools/misc/trashy { }; 11597 + 11596 11598 trenchbroom = libsForQt5.callPackage ../applications/misc/trenchbroom { 11597 11599 inherit (xorg) libXxf86vm; 11598 11600 };