Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "joker";
5 version = "1.1.0";
6
7 src = fetchFromGitHub {
8 rev = "v${version}";
9 owner = "candid82";
10 repo = "joker";
11 sha256 = "sha256-ERkK4T+nUTf18OoEctSugeK4i/f6k0naBKxzn+6pe38=";
12 };
13
14 vendorSha256 = "sha256-AYoespfzFLP/jIIxbw5K653wc7sSfLY8K7di8GZ64wA=";
15
16 doCheck = false;
17
18 preBuild = ''
19 go generate ./...
20 '';
21
22 subPackages = [ "." ];
23
24 meta = with lib; {
25 homepage = "https://github.com/candid82/joker";
26 description = "A small Clojure interpreter and linter written in Go";
27 license = licenses.epl10;
28 maintainers = with maintainers; [ andrestylianos ];
29 };
30}