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

31 lines
677 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2017-10-29 23:09:00 +00:00
2019-09-03 08:50:02 +01:00
buildGoModule rec {
pname = "joker";
2021-03-16 07:33:09 +00:00
version = "0.16.0";
2017-10-29 23:09:00 +00:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
2021-03-16 07:33:09 +00:00
sha256 = "sha256-ckbKxWzcISo9yOXuwgOiSfR2hs+5od0Ru0Ku2I52Gu8=";
2017-10-29 23:09:00 +00:00
};
2021-03-16 07:33:09 +00:00
vendorSha256 = "sha256-AYoespfzFLP/jIIxbw5K653wc7sSfLY8K7di8GZ64wA=";
2017-10-29 23:09:00 +00:00
doCheck = false;
2019-11-28 00:15:23 +00:00
preBuild = ''
go generate ./...
'';
2020-02-08 10:07:45 +00:00
subPackages = [ "." ];
meta = with 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;
maintainers = with maintainers; [ andrestylianos ];
};
}