miniserve: 0.22.0 -> 0.23.0
Diff: https://github.com/svenstaro/miniserve/compare/v0.22.0...v0.23.0 Changelog: https://github.com/svenstaro/miniserve/blob/v0.23.0/CHANGELOG.md
This commit is contained in:
parent
a12fc54f19
commit
7773d61a07
@ -3,33 +3,37 @@
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, stdenv
|
||||
, Security
|
||||
, darwin
|
||||
, curl
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "miniserve";
|
||||
version = "0.22.0";
|
||||
version = "0.23.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "svenstaro";
|
||||
repo = "miniserve";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-pi+dBJE+EqQpyZAkIV7duK1g378J6BgjIiFcjV5H1fQ=";
|
||||
hash = "sha256-iI9J1BGD7/SDLoJ2WfizAEHUXBJH4DiUbfGingef9lM=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-nRTGKW33NO2vRkvpNVk4pT1DrHPEsSfhwf8y5pJ+n9U=";
|
||||
cargoSha256 = "sha256-qvV7rJx0Yrv5CLRqSshGf1JUL6nW5KDb7Sv7B6M6WDs=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
Security
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
curl
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
"--skip=bind_ipv4_ipv6::case_2"
|
||||
"--skip=cant_navigate_up_the_root"
|
||||
"--skip=qrcode_hidden_in_tty_when_disabled"
|
||||
"--skip=qrcode_shown_in_tty_when_enabled"
|
||||
];
|
||||
@ -44,6 +48,8 @@ rustPlatform.buildRustPackage rec {
|
||||
--zsh <($out/bin/miniserve --print-completions zsh)
|
||||
'';
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool to serve files and directories over HTTP";
|
||||
homepage = "https://github.com/svenstaro/miniserve";
|
||||
|
@ -5229,9 +5229,7 @@ with pkgs;
|
||||
|
||||
miniscript = callPackage ../applications/blockchains/miniscript { };
|
||||
|
||||
miniserve = callPackage ../tools/misc/miniserve {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
miniserve = callPackage ../tools/misc/miniserve { };
|
||||
|
||||
mkspiffs = callPackage ../tools/filesystems/mkspiffs { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user