29 lines
695 B
Nix
29 lines
695 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "joker";
|
|
version = "0.14.1";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "candid82";
|
|
repo = "joker";
|
|
sha256 = "0da07fswj7x87njd9bi3gf8rzfyaq3zfcszgyb37w7q0ng4gg25n";
|
|
};
|
|
|
|
modSha256 = "0i16vf7n1xfz5kp9w3fvyc9y9wgz4h396glgpdaznpxjr12rb43j";
|
|
|
|
preBuild = ''
|
|
go generate ./...
|
|
'';
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/candid82/joker;
|
|
description = "A small Clojure interpreter and linter written in Go";
|
|
license = licenses.epl10;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ andrestylianos ];
|
|
};
|
|
}
|