miniserve: 0.11.0 -> 0.12.0
https://github.com/svenstaro/miniserve/releases/tag/v0.12.0
This commit is contained in:
parent
6be0d00460
commit
9832a6fa5f
1 changed files with 7 additions and 4 deletions
|
@ -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!";
|
||||
|
|
Loading…
Reference in a new issue