nixpkgs/pkgs/development/interpreters/joker/default.nix

28 lines
669 B
Nix
Raw Normal View History

2019-09-03 07:50:02 +00:00
{ stdenv, buildGoModule, fetchFromGitHub }:
2017-10-29 23:09:00 +00:00
2019-09-03 07:50:02 +00:00
buildGoModule rec {
pname = "joker";
2019-11-28 00:15:23 +00:00
version = "0.14.0";
2017-10-29 23:09:00 +00:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
2019-11-28 00:15:23 +00:00
sha256 = "1b38alajxs89a9x3f3ldk1nlynp6j90qhl1m2c6561rsm41sqfz0";
2017-10-29 23:09:00 +00:00
};
2019-09-03 07:50:02 +00:00
modSha256 = "0i16vf7n1xfz5kp9w3fvyc9y9wgz4h396glgpdaznpxjr12rb43j";
2017-10-29 23:09:00 +00:00
2019-11-28 00:15:23 +00:00
preBuild = ''
go generate ./...
'';
2017-10-29 23:09:00 +00:00
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 ];
};
}