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 08:50:02 +01:00
buildGoModule rec {
pname = "joker";
2020-06-10 02:51:27 +01:00
version = "0.15.4";
2017-10-29 23:09:00 +00:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
2020-06-10 02:51:27 +01:00
sha256 = "1ad6cdqadd1zs9zh85zyhdiiv6ir28k28w034vzsx5zaipvy4kml";
2017-10-29 23:09:00 +00:00
};
2020-06-10 02:51:27 +01:00
vendorSha256 = "031ban30kx84r54fj9aq96pwkz9nqh4p9yzs4l8i1wqmy52rldvl";
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 ];
};
}