miniserve: 0.15.0 -> 0.17.0
https://github.com/svenstaro/miniserve/releases/tag/v0.16.0 https://github.com/svenstaro/miniserve/releases/tag/v0.17.0
This commit is contained in:
parent
50cf24e37f
commit
ca831be54c
1 changed files with 7 additions and 4 deletions
|
@ -11,21 +11,24 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "miniserve";
|
||||
version = "0.15.0";
|
||||
version = "0.17.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "svenstaro";
|
||||
repo = "miniserve";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hcGpd23CM5r8tq7Wyf4/aJwTCVJ9POmZJHZvIdcF4Qg=";
|
||||
sha256 = "sha256-DqH/6Uu4L0fWbnGX8s3jCGwBgPE2PLIkS/dZIj+BA9Q=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-TnafvDbCZhIDnjGJThgYnwFs6O6/RvKFsll3gUh2mjQ=";
|
||||
cargoSha256 = "sha256-LgdVO41e56DIRkky1aF0X80ixs7ZH93Qk9Yx67vkO9E=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles pkg-config zlib ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
checkFlags = [ "--skip=cant_navigate_up_the_root" ];
|
||||
checkFlags = [
|
||||
"--skip=bind_ipv4_ipv6::case_2"
|
||||
"--skip=cant_navigate_up_the_root"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd miniserve \
|
||||
|
|
Loading…
Reference in a new issue