5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
30 lines
674 B
Nix
30 lines
674 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "joker";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "candid82";
|
|
repo = "joker";
|
|
sha256 = "sha256-hNwDX2yg7J8rcR9QRSGgqFTeqH+ydyDtPbIGC2nK5RI=";
|
|
};
|
|
|
|
vendorHash = "sha256-DrVtT2OBNquWVp/8Je45dBPDXafEc2Q+jffwY2S8J80=";
|
|
|
|
doCheck = false;
|
|
|
|
preBuild = ''
|
|
go generate ./...
|
|
'';
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/candid82/joker";
|
|
description = "A small Clojure interpreter and linter written in Go";
|
|
license = licenses.epl10;
|
|
maintainers = with maintainers; [ andrestylianos ];
|
|
};
|
|
}
|