blob: 1db2dd60197b8e66175c4eb0a6d939dbd0e1fa65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "joker";
version = "0.14.2";
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
sha256 = "1wi80sr8h9fwh4xipff0y6qdzrliwyk2w1bmi33ncykxd9r2g7nk";
};
modSha256 = "0i16vf7n1xfz5kp9w3fvyc9y9wgz4h396glgpdaznpxjr12rb43j";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
preBuild = ''
go generate ./...
'';
subPackages = [ "." ];
meta = with stdenv.lib; {
homepage = "https://github.com/candid82/joker";
description = "A small Clojure interpreter and linter written in Go";
license = licenses.epl10;
platforms = platforms.all;
maintainers = with maintainers; [ andrestylianos ];
};
}
|