handheld-daemon-ui: 3.2.3 -> 3.3.0 (#361609)
[NixPkgs.git] / pkgs / development / tools / hors / default.nix
blob03f53f1eabafd452260a7d870256b7b75f9d5af1
1 { lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
3 rustPlatform.buildRustPackage rec {
4   pname = "hors";
5   version = "0.8.2";
7   src = fetchFromGitHub {
8     owner = "windsoilder";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "1q17i8zg7dwd8al42wfnkn891dy5hdhw4325plnihkarr50avbr0";
12   };
14   cargoHash = "sha256-1PB/JvgfC6qABI+cIePqtsSlZXPqMGQIay9SCXJkV9o=";
16   buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
18   # requires network access
19   doCheck = false;
21   meta = with lib; {
22     description = "Instant coding answers via the command line";
23     mainProgram = "hors";
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 ];
28   };