commit
bd67156e12
File diff suppressed because it is too large
Load Diff
@ -2,20 +2,20 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "httplz";
|
pname = "httplz";
|
||||||
version = "1.5.1";
|
version = "1.5.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "thecoshman";
|
owner = "thecoshman";
|
||||||
repo = "http";
|
repo = "http";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "00w8sy0m92by6lby1zb8hh36dnsrvwyyl56p6p7a1mf3iiq84r1y";
|
sha256 = "0q9ng8vf01k65zmcm7bbkqyrkj5hs86zdxwrfj98f4xqxrm75rf6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with pkgs; [ openssl pkgconfig ] ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
|
buildInputs = with pkgs; [ openssl pkgconfig ] ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
|
||||||
|
|
||||||
cargoBuildFlags = [ "--bin httplz" ];
|
cargoBuildFlags = [ "--bin httplz" ];
|
||||||
cargoPatches = [ ./cargo-lock.patch ];
|
cargoPatches = [ ./cargo-lock.patch ];
|
||||||
cargoSha256 = "1axf15ma7fkbphjc6hjrbcj9rbd1x5i4kyz7fjrlqjgdsmvaqc93";
|
cargoSha256 = "18qr3sy4zj4lwbzrz98d82kwagfbzkmrxk5sxl7w9vhdzy2diskw";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A basic http server for hosting a folder fast and simply";
|
description = "A basic http server for hosting a folder fast and simply";
|
||||||
|
Loading…
Reference in New Issue
Block a user