summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-03-21 08:39:50 -0400
committerfigsoda <figsoda@pm.me>2023-03-21 08:40:57 -0400
commit8ade2218efcb5077bc730012929b9e6eb835a1e9 (patch)
tree07c593bce5c849698ab33380d9882d16f9734c38 /pkgs/tools
parent8501a1645abcc4ad91c9eadd53061124f5bebb3b (diff)
downloadnixpkgs-8ade2218efcb5077bc730012929b9e6eb835a1e9.tar
nixpkgs-8ade2218efcb5077bc730012929b9e6eb835a1e9.tar.gz
nixpkgs-8ade2218efcb5077bc730012929b9e6eb835a1e9.tar.bz2
nixpkgs-8ade2218efcb5077bc730012929b9e6eb835a1e9.tar.lz
nixpkgs-8ade2218efcb5077bc730012929b9e6eb835a1e9.tar.xz
nixpkgs-8ade2218efcb5077bc730012929b9e6eb835a1e9.tar.zst
nixpkgs-8ade2218efcb5077bc730012929b9e6eb835a1e9.zip
httplz: 1.12.5 -> 1.12.6
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/httplz/default.nix22
1 files changed, 5 insertions, 17 deletions
diff --git a/pkgs/tools/networking/httplz/default.nix b/pkgs/tools/networking/httplz/default.nix
index d3279214997..db2663bc54c 100644
--- a/pkgs/tools/networking/httplz/default.nix
+++ b/pkgs/tools/networking/httplz/default.nix
@@ -1,37 +1,26 @@
 { lib
 , rustPlatform
 , fetchCrate
-, fetchpatch
 , installShellFiles
 , makeWrapper
 , pkg-config
 , ronn
 , openssl
 , stdenv
-, libiconv
-, Security
+, darwin
 }:
 
 rustPlatform.buildRustPackage rec {
   pname = "httplz";
-  version = "1.12.5";
+  version = "1.12.6";
 
   src = fetchCrate {
     inherit version;
     pname = "https";
-    sha256 = "sha256-+nCqMTLrBYNQvoKo1PzkyzRCkKdlE88+NYoJcIlAJts=";
+    sha256 = "sha256-qkhou4Rmv31zwyL8aM7U0YUZwOb3KQMHdOQsOrRI1TA=";
   };
 
-  patches = [
-    # 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=";
+  cargoSha256 = "sha256-BuNCKtK9ePV0d9o/DlW098Y4DWTIl0YKyryXMv09Woc=";
 
   nativeBuildInputs = [
     installShellFiles
@@ -41,8 +30,7 @@ rustPlatform.buildRustPackage rec {
   ];
 
   buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
-    libiconv
-    Security
+    darwin.apple_sdk.frameworks.Security
   ];
 
   cargoBuildFlags = [ "--bin" "httplz" ];