httplz: init at 1.5.0 (#60304)

This commit is contained in:
Bruno Bigras
2019-04-27 09:34:33 +02:00
committed by Frederik Rietdijk
parent 45f8b50ac4
commit 4d8b9cbbdd
4 changed files with 1244 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+26
View File
@@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgs }:
rustPlatform.buildRustPackage rec {
pname = "httplz";
version = "1.5.0";
src = fetchFromGitHub {
owner = "thecoshman";
repo = "http";
rev = "v${version}";
sha256 = "0mb2wifz8pba03bdpiqadih33jimhg9crs4b72rcyfmj9l8fd1ba";
};
buildInputs = with pkgs; [ openssl pkgconfig ];
cargoBuildFlags = [ "--bin httplz" ];
cargoPatches = [ ./cargo-lock.patch ];
cargoSha256 = "0cy23smal6y5qj6a202zf7l76vwkpzvcjmlbq0ffyph3gq07ps7b";
meta = with stdenv.lib; {
description = "A basic http server for hosting a folder fast and simply";
homepage = https://github.com/thecoshman/http;
license = licenses.mit;
maintainers = with maintainers; [ bbigras ];
};
}