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
|
@ -4,24 +4,27 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, zlib
|
, zlib
|
||||||
|
, libiconv
|
||||||
, Security
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "miniserve";
|
pname = "miniserve";
|
||||||
version = "0.11.0";
|
version = "0.12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "svenstaro";
|
owner = "svenstaro";
|
||||||
repo = "miniserve";
|
repo = "miniserve";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-/vtiHRHsbF7lfn9tfgfKhm5YwofjSJniNNnKahphHFg=";
|
sha256 = "sha256-hTNwEspM1qlQkC6lD7N947tvS7O7RCIUYACvj4KYsAY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-gwy/LeVznZyawliXnkULyyVSXATk0sjSTUZPHO2K+9o=";
|
cargoSha256 = "sha256-7G+h+g00T/aJ1cQ1SChxy8dq3CWWdHlx5DAH77xM9Oc=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config zlib ];
|
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; {
|
meta = with lib; {
|
||||||
description = "For when you really just want to serve some files over HTTP right now!";
|
description = "For when you really just want to serve some files over HTTP right now!";
|
||||||
|
|
Loading…
Reference in New Issue