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

32 lines
763 B
Nix
Raw Normal View History

2017-10-30 00:09:00 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "joker-${version}";
2018-09-15 02:05:52 +02:00
version = "0.9.7";
2017-10-30 00:09:00 +01:00
goPackagePath = "github.com/candid82/joker";
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
2018-09-15 02:05:52 +02:00
sha256 = "0fl04xdpqmr5xpd4pvj72gdy3v1fr9z6h3ja7dmkama8fw2x4diz";
2017-10-30 00:09:00 +01:00
};
preBuild = "go generate ./...";
dontInstallSrc = true;
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 ];
};
}