lol

Merge pull request #207170: magic-wormhole-rs: 0.5.0 -> 0.6.0

authored by

piegames and committed by
GitHub
9390a34d 652e92b8

+13 -3
+13 -3
pkgs/tools/networking/magic-wormhole-rs/default.nix
··· 3 3 , fetchFromGitHub 4 4 , rustPlatform 5 5 , libxcb 6 + , installShellFiles 6 7 , Security 7 8 , AppKit 8 9 }: 9 10 rustPlatform.buildRustPackage rec { 10 11 pname = "magic-wormhole-rs"; 11 - version = "0.5.0"; 12 + version = "0.6.0"; 12 13 13 14 src = fetchFromGitHub { 14 15 owner = "magic-wormhole"; 15 16 repo = "magic-wormhole.rs"; 16 17 rev = version; 17 - sha256 = "sha256-+H/IzMxiGz7UVVkEWpmyBepGET9doQFNDvOCZEMF0p4="; 18 + sha256 = "sha256-gNHtlbYWQvgboIG++N1680a4ql66PTF45DJGz521zzk="; 18 19 }; 19 20 20 - cargoSha256 = "sha256-pRdb5NSqueHmK5vbZfmbDGOz7NQvmUI/pj9KgShiIn0="; 21 + cargoSha256 = "sha256-powJrbVVBWtIg0CV7ZdhaVIQA+VhEPtPCts7f8Sl1VY="; 21 22 22 23 buildInputs = [ libxcb ] 23 24 ++ lib.optionals stdenv.isDarwin [ Security AppKit ]; 24 25 26 + nativeBuildInputs = [ installShellFiles ]; 27 + 25 28 # all tests involve networking and are bound fail 26 29 doCheck = false; 30 + 31 + postInstall = '' 32 + installShellCompletion --cmd wormhole-rs \ 33 + --bash <($out/bin/wormhole-rs completion bash) \ 34 + --fish <($out/bin/wormhole-rs completion fish) \ 35 + --zsh <($out/bin/wormhole-rs completion zsh) 36 + ''; 27 37 28 38 meta = with lib; { 29 39 description = "Rust implementation of Magic Wormhole, with new features and enhancements";