Loading pkgs/by-name/oh/oha/package.nix +14 −5 Original line number Diff line number Diff line Loading @@ -6,21 +6,25 @@ pkg-config, openssl, rust-jemalloc-sys, versionCheckHook, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "oha"; version = "1.11.0"; src = fetchFromGitHub { owner = "hatoo"; repo = "oha"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-N52j8WYEVlmHQdr0HZJZZo92OhIz4V0R1SdaWlOD684="; }; cargoHash = "sha256-M6wJy5X9JRM9tOOGT8b6YIUT0OakXQxjw17iuqaRT5s="; CARGO_PROFILE_RELEASE_LTO = "fat"; CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1"; nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ]; Loading @@ -33,12 +37,17 @@ rustPlatform.buildRustPackage rec { # tests don't work inside the sandbox doCheck = false; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; meta = { description = "HTTP load generator inspired by rakyll/hey with tui animation"; homepage = "https://github.com/hatoo/oha"; changelog = "https://github.com/hatoo/oha/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/hatoo/oha/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; maintainers = [ lib.maintainers.jpds ]; mainProgram = "oha"; }; } }) Loading
pkgs/by-name/oh/oha/package.nix +14 −5 Original line number Diff line number Diff line Loading @@ -6,21 +6,25 @@ pkg-config, openssl, rust-jemalloc-sys, versionCheckHook, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "oha"; version = "1.11.0"; src = fetchFromGitHub { owner = "hatoo"; repo = "oha"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-N52j8WYEVlmHQdr0HZJZZo92OhIz4V0R1SdaWlOD684="; }; cargoHash = "sha256-M6wJy5X9JRM9tOOGT8b6YIUT0OakXQxjw17iuqaRT5s="; CARGO_PROFILE_RELEASE_LTO = "fat"; CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1"; nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ]; Loading @@ -33,12 +37,17 @@ rustPlatform.buildRustPackage rec { # tests don't work inside the sandbox doCheck = false; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; meta = { description = "HTTP load generator inspired by rakyll/hey with tui animation"; homepage = "https://github.com/hatoo/oha"; changelog = "https://github.com/hatoo/oha/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/hatoo/oha/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; maintainers = [ lib.maintainers.jpds ]; mainProgram = "oha"; }; } })