Merge pull request #188529 from figsoda/update-oha

oha: 0.5.3 -> 0.5.4
This commit is contained in:
Mario Rodas 2022-08-27 22:48:49 -05:00 committed by GitHub
commit 089d863077
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,22 +2,27 @@
rustPlatform.buildRustPackage rec {
pname = "oha";
version = "0.5.3";
version = "0.5.4";
src = fetchFromGitHub {
owner = "hatoo";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-P21rANxgreXu8vA1vsFCSkh1Irs67r3s33XT1dMFD7I=";
sha256 = "sha256-dk9OXUt31UIZLH3E50R8iE8zJqvdT1pBu1oU25QrOro=";
};
cargoSha256 = "sha256-l6xQbZVrWF8Uw27datqvv9B3LoPtoaCnumo0gIjKdaA=";
cargoSha256 = "sha256-WlAAuFz7DZ4PhlTgEXNK9sZKkS95pCrbX2AXC3c1rh8=";
nativeBuildInputs = lib.optional stdenv.isLinux pkg-config;
buildInputs = lib.optional stdenv.isLinux openssl
++ lib.optional stdenv.isDarwin Security;
# remove cargo config so it can find the linker
postPatch = ''
rm .cargo/config.toml
'';
# tests don't work inside the sandbox
doCheck = false;