nixpkgs/pkgs/development/interpreters/joker/default.nix
2018-04-03 12:49:15 +02:00

31 lines
763 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "joker-${version}";
version = "0.9.1";
goPackagePath = "github.com/candid82/joker";
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
sha256 = "10flfjnb9mz3dir3882agcs1lyr5qdpd9qfyvphrh08zr3jnb3hz";
};
preBuild = "go generate ./...";
dontInstallSrc = true;
excludedPackages = "gen"; # Do not install private generators.
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 ];
};
}