miniserve: 0.12.1 -> 0.13.0

https://github.com/svenstaro/miniserve/releases/tag/v0.13.0

zowoq c4fbc272 96a4f3f9

+12 -4
+12 -4
pkgs/tools/misc/miniserve/default.nix
··· 2 , stdenv 3 , rustPlatform 4 , fetchFromGitHub 5 , pkg-config 6 , zlib 7 , libiconv ··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "miniserve"; 13 - version = "0.12.1"; 14 15 src = fetchFromGitHub { 16 owner = "svenstaro"; 17 repo = "miniserve"; 18 rev = "v${version}"; 19 - sha256 = "sha256-1LyDwQWC8cb3Sq8lZ9eDpZMcu5/yh0BJFuOWQ3iTtpY="; 20 }; 21 22 - cargoSha256 = "sha256-11aP0/p9wC9o1KuM+CLAuHhZxuYff6nvJPj0/yjb1+E="; 23 24 - nativeBuildInputs = [ pkg-config zlib ]; 25 buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; 26 27 checkFlags = [ "--skip=cant_navigate_up_the_root" ]; 28 29 meta = with lib; { 30 description = "For when you really just want to serve some files over HTTP right now!";
··· 2 , stdenv 3 , rustPlatform 4 , fetchFromGitHub 5 + , installShellFiles 6 , pkg-config 7 , zlib 8 , libiconv ··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "miniserve"; 14 + version = "0.13.0"; 15 16 src = fetchFromGitHub { 17 owner = "svenstaro"; 18 repo = "miniserve"; 19 rev = "v${version}"; 20 + sha256 = "sha256-1nXhAYvvvUQb0RcWidsRMQOhU8eXt7ngzodsMkYvqvg="; 21 }; 22 23 + cargoSha256 = "sha256-P5ukE7eXBRJMrc7+T9/TMq2uGs0AuZliHTtoqiZXNZw="; 24 25 + nativeBuildInputs = [ installShellFiles pkg-config zlib ]; 26 buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; 27 28 checkFlags = [ "--skip=cant_navigate_up_the_root" ]; 29 + 30 + postInstall = '' 31 + installShellCompletion --cmd miniserve \ 32 + --bash <($out/bin/miniserve --print-completions bash) \ 33 + --fish <($out/bin/miniserve --print-completions fish) \ 34 + --zsh <($out/bin/miniserve --print-completions zsh) 35 + ''; 36 37 meta = with lib; { 38 description = "For when you really just want to serve some files over HTTP right now!";