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

29 lines
699 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2017-10-29 23:09:00 +00:00
2019-09-03 07:50:02 +00:00
buildGoModule rec {
pname = "joker";
2020-05-05 12:18:09 +00:00
version = "0.15.3";
2017-10-29 23:09:00 +00:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
2020-05-05 12:18:09 +00:00
sha256 = "1pxj6flyhf522zjab1dfvxfajyx3v3rzs7l8ma7ma6b8zmwp2wdn";
2017-10-29 23:09:00 +00:00
};
vendorSha256 = "1rn8ijq3v3fzlbyvm7g4i3qpwcl3vrl4rbcvlbzv05wxrgcw9iqb";
2017-10-29 23:09:00 +00:00
2019-11-28 00:15:23 +00:00
preBuild = ''
go generate ./...
'';
2020-02-08 10:07:45 +00:00
subPackages = [ "." ];
2017-10-29 23:09:00 +00:00
meta = with stdenv.lib; {
2020-03-05 02:36:00 +00:00
homepage = "https://github.com/candid82/joker";
2017-10-29 23:09:00 +00:00
description = "A small Clojure interpreter and linter written in Go";
license = licenses.epl10;
platforms = platforms.all;
maintainers = with maintainers; [ andrestylianos ];
};
}