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

31 lines
677 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2017-10-30 00:09:00 +01:00
2019-09-03 09:50:02 +02:00
buildGoModule rec {
pname = "joker";
2021-04-27 06:35:47 +02:00
version = "0.17.1";
2017-10-30 00:09:00 +01:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
2021-04-27 06:35:47 +02:00
sha256 = "sha256-3OimYXcQ3KPav44sClbC60220/YK4Jhq+l5UfRFYoJI=";
2017-10-30 00:09:00 +01:00
};
2021-03-16 08:33:09 +01:00
vendorSha256 = "sha256-AYoespfzFLP/jIIxbw5K653wc7sSfLY8K7di8GZ64wA=";
2017-10-30 00:09:00 +01:00
doCheck = false;
2019-11-28 01:15:23 +01:00
preBuild = ''
go generate ./...
'';
2020-02-08 11:07:45 +01:00
subPackages = [ "." ];
meta = with lib; {
2020-03-05 03:36:00 +01:00
homepage = "https://github.com/candid82/joker";
2017-10-30 00:09:00 +01:00
description = "A small Clojure interpreter and linter written in Go";
license = licenses.epl10;
maintainers = with maintainers; [ andrestylianos ];
};
}