Merge pull request #76121 from zowoq/miniserve
miniserve: 0.2.1 -> 0.5.0
This commit is contained in:
commit
2095b4de34
@ -1,19 +1,22 @@
|
|||||||
{ stdenv, rustPlatform, fetchFromGitHub, cmake, pkgconfig, zlib }:
|
{ stdenv, rustPlatform, fetchFromGitHub, cmake, pkgconfig, zlib, openssl }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "miniserve";
|
pname = "miniserve";
|
||||||
version = "0.2.1";
|
version = "0.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "svenstaro";
|
owner = "svenstaro";
|
||||||
repo = "miniserve";
|
repo = "miniserve";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1g8ggqs4fyscb1r98qj22f61jgkqnr4vdyps0drrvydl9lafdmpl";
|
sha256 = "06cxkkf3sf84prba65dymr1hg7mwizmsax0dlljh0lcmvlcpzi08";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "055mbrzg7v8a65awn1051b4b9ngxq25wy31gjq8kc93qsb7k0f2k";
|
cargoSha256 = "046xxxqcf1sdsi9dlilsn0nk36gyca20ck1a70ihj1k9kl7yj8sn";
|
||||||
|
|
||||||
|
RUSTC_BOOTSTRAP = 1;
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig zlib ];
|
nativeBuildInputs = [ cmake pkgconfig zlib ];
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.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…
x
Reference in New Issue
Block a user