Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "levant";
9 version = "0.4.0";
10
11 src = fetchFromGitHub {
12 owner = "hashicorp";
13 repo = "levant";
14 rev = "v${version}";
15 sha256 = "sha256-XxdLN/z+mtiaAy6heRbj4kyIOeKbS9yb1xIZnIyfI3s=";
16 };
17
18 vendorHash = "sha256-UJuAT02rYid2IESuABTDEAJiIBOfcyvH7ASOZfgTrZs=";
19
20 # The tests try to connect to a Nomad cluster.
21 doCheck = false;
22
23 meta = with lib; {
24 description = "Open source templating and deployment tool for HashiCorp Nomad jobs";
25 mainProgram = "levant";
26 homepage = "https://github.com/hashicorp/levant";
27 license = licenses.mpl20;
28 maintainers = with maintainers; [ max-niederman ];
29 };
30}