2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2017-10-29 23:09:00 +00:00
|
|
|
|
2019-09-03 08:50:02 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "joker";
|
2020-06-10 02:51:27 +01:00
|
|
|
version = "0.15.4";
|
2017-10-29 23:09:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "candid82";
|
|
|
|
repo = "joker";
|
2020-06-10 02:51:27 +01:00
|
|
|
sha256 = "1ad6cdqadd1zs9zh85zyhdiiv6ir28k28w034vzsx5zaipvy4kml";
|
2017-10-29 23:09:00 +00:00
|
|
|
};
|
|
|
|
|
2020-06-10 02:51:27 +01:00
|
|
|
vendorSha256 = "031ban30kx84r54fj9aq96pwkz9nqh4p9yzs4l8i1wqmy52rldvl";
|
2017-10-29 23:09:00 +00:00
|
|
|
|
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;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ andrestylianos ];
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|