For some reason, the Fedora team decided to stop packaging Hardinfo in the repositories, so you’ll need to build it from sources as shown..
sudo dnf install glib-devel gtk+-devel zlib-devel libsoup-devel json-glib-devel gtk2-devel cmake
cd Downloads
git clone https://github.com/lpereira/hardinfo.git
cd hardinfo
mkdir build
cd build
cmake ..
make
sudo make install
Fedora stopped distributing the hardinfo as it was not maintained.
We have rebooted the project as a community edition hardinfo2 - see/join the github project:
https://github.com/hardinfo2/hardinfo2
There are also binary packages for the most used distros - see:
https://hardinfo2.org/github/?latest_prerelease
Homepage with pictures and more:
https://hardinfo2.org
Hope to be back in all distros - there is no other program like hardinfo2.