nixpkgs-suyu/pkgs/development/interpreters/joker/default.nix
André Stylianos Ramos 3a7d9f84f8
joker: 0.9.7 -> 0.10.1
2018-11-08 20:19:06 -02:00

31 lines
764 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "joker-${version}";
version = "0.10.1";
goPackagePath = "github.com/candid82/joker";
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
sha256 = "1c3p61jmlljljbiwsylmfa75pi00y7yj5wabx1rxmpswc41g5mab";
};
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 ];
};
}