Merge pull request #164421 from r-ryantm/auto-update/miniserve

miniserve: 0.19.2 -> 0.19.3
This commit is contained in:
Fabian Affolter 2022-03-18 11:06:29 +01:00 committed by GitHub
commit 2cb8edda0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,19 +11,27 @@
rustPlatform.buildRustPackage rec {
pname = "miniserve";
version = "0.19.2";
version = "0.19.3";
src = fetchFromGitHub {
owner = "svenstaro";
repo = "miniserve";
rev = "v${version}";
sha256 = "sha256-/LmLz4hTmOjpR4Bqf+hABh3PSeaO/sSz/EgHp+nM20o=";
hash = "sha256-JlpjDUX8v7sGADhdKNQXoklbl/fw8DT0A6hEaUG61TQ=";
};
cargoSha256 = "sha256-/KL5c5OeflNDKWuE5Gzqgcew9zf8HFjvmBid+mQSqZE=";
cargoSha256 = "sha256-5V8+Mcuu3fxG399QjW++/uWpPMvVWBfhI/L/6pmbkVY=";
nativeBuildInputs = [ installShellFiles pkg-config zlib ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
nativeBuildInputs = [
installShellFiles
pkg-config
zlib
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
Security
];
checkFlags = [
"--skip=bind_ipv4_ipv6::case_2"
@ -38,7 +46,7 @@ rustPlatform.buildRustPackage rec {
'';
meta = with lib; {
description = "For when you really just want to serve some files over HTTP right now!";
description = "CLI tool to serve files and directories over HTTP";
homepage = "https://github.com/svenstaro/miniserve";
license = with licenses; [ mit ];
maintainers = with maintainers; [ ];