2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2017-10-29 23:09:00 +00:00
|
|
|
|
2019-09-03 07:50:02 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "joker";
|
2020-08-15 04:48:06 +00:00
|
|
|
version = "0.15.6";
|
2017-10-29 23:09:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "candid82";
|
|
|
|
repo = "joker";
|
2020-08-15 04:48:06 +00:00
|
|
|
sha256 = "1yi9q8ibia6gz6s30i3bjrbmlhj6knrb3d73113dxrs8abi1mkbh";
|
2017-10-29 23:09:00 +00:00
|
|
|
};
|
|
|
|
|
2020-06-10 01:51:27 +00:00
|
|
|
vendorSha256 = "031ban30kx84r54fj9aq96pwkz9nqh4p9yzs4l8i1wqmy52rldvl";
|
2017-10-29 23:09:00 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-11-28 00:15:23 +00:00
|
|
|
preBuild = ''
|
|
|
|
go generate ./...
|
|
|
|
'';
|
|
|
|
|
2020-02-08 10:07:45 +00:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2017-10-29 23:09:00 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-03-05 02:36:00 +00:00
|
|
|
homepage = "https://github.com/candid82/joker";
|
2017-10-29 23:09:00 +00:00
|
|
|
description = "A small Clojure interpreter and linter written in Go";
|
|
|
|
license = licenses.epl10;
|
|
|
|
maintainers = with maintainers; [ andrestylianos ];
|
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|