1 { lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "1q17i8zg7dwd8al42wfnkn891dy5hdhw4325plnihkarr50avbr0";
14 cargoHash = "sha256-1PB/JvgfC6qABI+cIePqtsSlZXPqMGQIay9SCXJkV9o=";
16 buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
18 # requires network access
22 description = "Instant coding answers via the command line";
24 homepage = "https://github.com/windsoilder/hors";
25 changelog = "https://github.com/WindSoilder/hors/blob/v${version}/CHANGELOG.md";
26 license = licenses.gpl3Only;
27 maintainers = with maintainers; [ figsoda ];