Merge pull request #76121 from zowoq/miniserve

miniserve: 0.2.1 -> 0.5.0
This commit is contained in:
Tim Steinbach 2019-12-21 08:49:55 -05:00 committed by GitHub
commit 2095b4de34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,22 @@
{ stdenv, rustPlatform, fetchFromGitHub, cmake, pkgconfig, zlib }:
{ stdenv, rustPlatform, fetchFromGitHub, cmake, pkgconfig, zlib, openssl }:
rustPlatform.buildRustPackage rec {
pname = "miniserve";
version = "0.2.1";
version = "0.5.0";
src = fetchFromGitHub {
owner = "svenstaro";
repo = "miniserve";
rev = "v${version}";
sha256 = "1g8ggqs4fyscb1r98qj22f61jgkqnr4vdyps0drrvydl9lafdmpl";
sha256 = "06cxkkf3sf84prba65dymr1hg7mwizmsax0dlljh0lcmvlcpzi08";
};
cargoSha256 = "055mbrzg7v8a65awn1051b4b9ngxq25wy31gjq8kc93qsb7k0f2k";
cargoSha256 = "046xxxqcf1sdsi9dlilsn0nk36gyca20ck1a70ihj1k9kl7yj8sn";
RUSTC_BOOTSTRAP = 1;
nativeBuildInputs = [ cmake pkgconfig zlib ];
buildInputs = [ openssl ];
meta = with stdenv.lib; {
description = "For when you really just want to serve some files over HTTP right now!";