diff --git a/pkgs/by-name/op/openapi-tui/package.nix b/pkgs/by-name/op/openapi-tui/package.nix index 09c7eae81bf4..a7473ec66937 100644 --- a/pkgs/by-name/op/openapi-tui/package.nix +++ b/pkgs/by-name/op/openapi-tui/package.nix @@ -1,20 +1,27 @@ { lib , rustPlatform , fetchFromGitHub +, pkg-config +, openssl }: rustPlatform.buildRustPackage rec { pname = "openapi-tui"; - version = "0.5.0"; + version = "0.9.4"; src = fetchFromGitHub { owner = "zaghaghi"; repo = "openapi-tui"; rev = version; - hash = "sha256-flxQ5+nLacQAkrxJafw9D3iXYTFpHcmTshEySmFJ0Cc="; + hash = "sha256-y8A43FV3PfYHaMMHE3uGRBaftga/pVSivCfV4iwUROA="; }; - cargoHash = "sha256-vfEDbUrIXc498QnMJJlMGyTUDvlHgquB5GpWTe7yCvM="; + cargoHash = "sha256-I1eTJDtQM9WKluOZJGfQT4Wn9TFyTu6ZcPFuh8wZIWI="; + + OPENSSL_NO_VENDOR = true; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl ]; meta = with lib; { description = "Terminal UI to list, browse and run APIs defined with openapi spec"; @@ -24,4 +31,3 @@ rustPlatform.buildRustPackage rec { mainProgram = "openapi-tui"; }; } -