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

31 lines
689 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2017-10-29 16:09:00 -07:00
2019-09-03 00:50:02 -07:00
buildGoModule rec {
pname = "joker";
2020-10-18 08:14:12 -07:00
version = "0.15.7";
2017-10-29 16:09:00 -07:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
2020-10-18 08:14:12 -07:00
sha256 = "01mlizkflajad4759yl60ymibymrvanhc22jaffj50k9b77v97kq";
2017-10-29 16:09:00 -07:00
};
2020-06-09 18:51:27 -07:00
vendorSha256 = "031ban30kx84r54fj9aq96pwkz9nqh4p9yzs4l8i1wqmy52rldvl";
2017-10-29 16:09:00 -07:00
doCheck = false;
2019-11-27 16:15:23 -08:00
preBuild = ''
go generate ./...
'';
2020-02-08 02:07:45 -08:00
subPackages = [ "." ];
2017-10-29 16:09:00 -07:00
meta = with stdenv.lib; {
2020-03-04 18:36:00 -08:00
homepage = "https://github.com/candid82/joker";
2017-10-29 16:09:00 -07:00
description = "A small Clojure interpreter and linter written in Go";
license = licenses.epl10;
maintainers = with maintainers; [ andrestylianos ];
};
}