2017-10-30 00:09:00 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "joker-${version}";
|
2018-02-27 04:38:12 +01:00
|
|
|
version = "0.8.9";
|
2017-10-30 00:09:00 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/candid82/joker";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "candid82";
|
|
|
|
repo = "joker";
|
2018-02-27 04:38:12 +01:00
|
|
|
sha256 = "0ph5f3vc6x1qfh3zn3va2xqx3axv1i2ywbhxayk58p55fxblj5c9";
|
2017-10-30 00:09:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = "go generate ./...";
|
|
|
|
|
|
|
|
dontInstallSrc = true;
|
|
|
|
|
2017-11-04 08:03:06 +01:00
|
|
|
excludedPackages = "gen"; # Do not install private generators.
|
|
|
|
|
2017-10-30 00:09:00 +01:00
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|