httplz: 1.12.5 -> 1.12.6
This commit is contained in:
parent
8501a1645a
commit
8ade2218ef
|
@ -1,37 +1,26 @@
|
||||||
{ lib
|
{ lib
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchCrate
|
, fetchCrate
|
||||||
, fetchpatch
|
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, ronn
|
, ronn
|
||||||
, openssl
|
, openssl
|
||||||
, stdenv
|
, stdenv
|
||||||
, libiconv
|
, darwin
|
||||||
, Security
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "httplz";
|
pname = "httplz";
|
||||||
version = "1.12.5";
|
version = "1.12.6";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit version;
|
inherit version;
|
||||||
pname = "https";
|
pname = "https";
|
||||||
sha256 = "sha256-+nCqMTLrBYNQvoKo1PzkyzRCkKdlE88+NYoJcIlAJts=";
|
sha256 = "sha256-qkhou4Rmv31zwyL8aM7U0YUZwOb3KQMHdOQsOrRI1TA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
cargoSha256 = "sha256-BuNCKtK9ePV0d9o/DlW098Y4DWTIl0YKyryXMv09Woc=";
|
||||||
# https://github.com/thecoshman/http/pull/151
|
|
||||||
(fetchpatch {
|
|
||||||
name = "fix-rust-1.65-compile.patch";
|
|
||||||
url = "https://github.com/thecoshman/http/commit/6e4c8e97cce09d0d18d4936f90aa643659d813fc.patch";
|
|
||||||
hash = "sha256-mXclXfp2Nzq6Pr9VFmxiOzECGZEQRNOAcXoKhiOyuFs=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoSha256 = "sha256-odiVIfNJPpagoASnYvdOosHXa37gbQM8Zmvtnao0pAs=";
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
|
@ -41,8 +30,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
||||||
libiconv
|
darwin.apple_sdk.frameworks.Security
|
||||||
Security
|
|
||||||
];
|
];
|
||||||
|
|
||||||
cargoBuildFlags = [ "--bin" "httplz" ];
|
cargoBuildFlags = [ "--bin" "httplz" ];
|
||||||
|
|
|
@ -8454,9 +8454,7 @@ with pkgs;
|
||||||
|
|
||||||
httping = callPackage ../tools/networking/httping { };
|
httping = callPackage ../tools/networking/httping { };
|
||||||
|
|
||||||
httplz = callPackage ../tools/networking/httplz {
|
httplz = callPackage ../tools/networking/httplz { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
httpfs2 = callPackage ../tools/filesystems/httpfs { };
|
httpfs2 = callPackage ../tools/filesystems/httpfs { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue