1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "aviator";
5 version = "1.8.1";
6
7 src = fetchFromGitHub {
8 owner = "herrjulz";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-Oa4z8n+q7LKWMnwk+xj9UunzOa3ChaPBCTo828yYJGQ=";
12 };
13
14 patches = [
15 ./bump-golang-x-sys.patch
16 ];
17
18 deleteVendor = true;
19 vendorHash = "sha256-AJyxCE4DdAXRS+2sY4Zzu8NTEFKJoV1bopfOqOFKZfI=";
20
21 meta = with lib; {
22 description = "Merge YAML/JSON files in a in a convenient fashion";
23 mainProgram = "aviator";
24 homepage = "https://github.com/herrjulz/aviator";
25 license = licenses.mit;
26 maintainers = with maintainers; [ risson ];
27 };
28}