miniserve: 0.11.0 -> 0.12.0

https://github.com/svenstaro/miniserve/releases/tag/v0.12.0
This commit is contained in:
zowoq 2021-03-21 15:01:06 +10:00
parent 6be0d00460
commit 9832a6fa5f

View file

@ -4,24 +4,27 @@
, fetchFromGitHub
, pkg-config
, zlib
, libiconv
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "miniserve";
version = "0.11.0";
version = "0.12.0";
src = fetchFromGitHub {
owner = "svenstaro";
repo = "miniserve";
rev = "v${version}";
sha256 = "sha256-/vtiHRHsbF7lfn9tfgfKhm5YwofjSJniNNnKahphHFg=";
sha256 = "sha256-hTNwEspM1qlQkC6lD7N947tvS7O7RCIUYACvj4KYsAY=";
};
cargoSha256 = "sha256-gwy/LeVznZyawliXnkULyyVSXATk0sjSTUZPHO2K+9o=";
cargoSha256 = "sha256-7G+h+g00T/aJ1cQ1SChxy8dq3CWWdHlx5DAH77xM9Oc=";
nativeBuildInputs = [ pkg-config zlib ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
checkFlags = [ "--skip=cant_navigate_up_the_root" ];
meta = with lib; {
description = "For when you really just want to serve some files over HTTP right now!";