2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2017-10-30 00:09:00 +01:00
|
|
|
|
2019-09-03 09:50:02 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "joker";
|
2021-04-27 06:35:47 +02:00
|
|
|
version = "0.17.1";
|
2017-10-30 00:09:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "candid82";
|
|
|
|
repo = "joker";
|
2021-04-27 06:35:47 +02:00
|
|
|
sha256 = "sha256-3OimYXcQ3KPav44sClbC60220/YK4Jhq+l5UfRFYoJI=";
|
2017-10-30 00:09:00 +01:00
|
|
|
};
|
|
|
|
|
2021-03-16 08:33:09 +01:00
|
|
|
vendorSha256 = "sha256-AYoespfzFLP/jIIxbw5K653wc7sSfLY8K7di8GZ64wA=";
|
2017-10-30 00:09:00 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-11-28 01:15:23 +01:00
|
|
|
preBuild = ''
|
|
|
|
go generate ./...
|
|
|
|
'';
|
|
|
|
|
2020-02-08 11:07:45 +01:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-01-23 14:15:07 +01:00
|
|
|
meta = with lib; {
|
2020-03-05 03:36:00 +01:00
|
|
|
homepage = "https://github.com/candid82/joker";
|
2017-10-30 00:09:00 +01:00
|
|
|
description = "A small Clojure interpreter and linter written in Go";
|
|
|
|
license = licenses.epl10;
|
|
|
|
maintainers = with maintainers; [ andrestylianos ];
|
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|