2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "joker";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.4.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "candid82";
|
|
|
|
repo = "joker";
|
2024-07-27 06:49:29 +00:00
|
|
|
sha256 = "sha256-Y7FaW3V80mXp3l87srTLyhF45MlNH7QUZ5hrTudPtDU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
vendorHash = "sha256-t/28kTJVgVoe7DgGzNgA1sYKoA6oNC46AeJSrW/JetU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
preBuild = ''
|
|
|
|
go generate ./...
|
|
|
|
'';
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/candid82/joker";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Small Clojure interpreter and linter written in Go";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "joker";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.epl10;
|
|
|
|
maintainers = with maintainers; [ andrestylianos ];
|
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|