Loading pkgs/by-name/xh/xh/package.nix +8 −12 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ pkg-config, withNativeTls ? true, stdenv, darwin, openssl, }: Loading @@ -30,15 +29,12 @@ rustPlatform.buildRustPackage rec { pkg-config ]; buildInputs = lib.optionals withNativeTls ( if stdenv.hostPlatform.isDarwin then [ darwin.apple_sdk.frameworks.SystemConfiguration ] else [ openssl ] ); buildInputs = lib.optionals (withNativeTls && !stdenv.hostPlatform.isDarwin) [ openssl ]; env = { # Get openssl-sys to use pkg-config OPENSSL_NO_VENDOR = 1; }; postInstall = '' installShellCompletion \ Loading @@ -62,12 +58,12 @@ rustPlatform.buildRustPackage rec { $out/bin/xhs --help > /dev/null ''; meta = with lib; { meta = { description = "Friendly and fast tool for sending HTTP requests"; homepage = "https://github.com/ducaale/xh"; changelog = "https://github.com/ducaale/xh/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ license = lib.licenses.mit; maintainers = with lib.maintainers; [ figsoda aaronjheng ]; Loading Loading
pkgs/by-name/xh/xh/package.nix +8 −12 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ pkg-config, withNativeTls ? true, stdenv, darwin, openssl, }: Loading @@ -30,15 +29,12 @@ rustPlatform.buildRustPackage rec { pkg-config ]; buildInputs = lib.optionals withNativeTls ( if stdenv.hostPlatform.isDarwin then [ darwin.apple_sdk.frameworks.SystemConfiguration ] else [ openssl ] ); buildInputs = lib.optionals (withNativeTls && !stdenv.hostPlatform.isDarwin) [ openssl ]; env = { # Get openssl-sys to use pkg-config OPENSSL_NO_VENDOR = 1; }; postInstall = '' installShellCompletion \ Loading @@ -62,12 +58,12 @@ rustPlatform.buildRustPackage rec { $out/bin/xhs --help > /dev/null ''; meta = with lib; { meta = { description = "Friendly and fast tool for sending HTTP requests"; homepage = "https://github.com/ducaale/xh"; changelog = "https://github.com/ducaale/xh/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ license = lib.licenses.mit; maintainers = with lib.maintainers; [ figsoda aaronjheng ]; Loading