31 lines
699 B
Nix
31 lines
699 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "joker";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "candid82";
|
|
repo = "joker";
|
|
sha256 = "sha256-Y7FaW3V80mXp3l87srTLyhF45MlNH7QUZ5hrTudPtDU=";
|
|
};
|
|
|
|
vendorHash = "sha256-t/28kTJVgVoe7DgGzNgA1sYKoA6oNC46AeJSrW/JetU=";
|
|
|
|
doCheck = false;
|
|
|
|
preBuild = ''
|
|
go generate ./...
|
|
'';
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/candid82/joker";
|
|
description = "Small Clojure interpreter and linter written in Go";
|
|
mainProgram = "joker";
|
|
license = licenses.epl10;
|
|
maintainers = with maintainers; [ andrestylianos ];
|
|
};
|
|
}
|