{ lib, fetchFromGitHub , rustPlatform , pkg-config, openssl }: rustPlatform.buildRustPackage rec { pname = "ord"; version = "0.4.2"; src = fetchFromGitHub { owner = "casey"; repo = pname; rev = version; sha256 = "sha256-jZUW8tL1kS9hotMteJNGtiHaw0MqiFDgyH3+DeQ5L00="; }; cargoSha256 = "sha256-HjmX7r8y6ILatUlBjiBp39p36CY2kWj1IUKlSw7fKGk="; nativeBuildInputs = [pkg-config]; buildInputs = [openssl]; meta = with lib; { description = "ord is an index, block explorer, and command-line wallet. Ordinal theory imbues satoshis with numismatic value, allowing them to collected and traded as curios."; homepage = "https://github.com/casey/ord"; license = with licenses; [cc0]; mainProgram = "ord"; }; }