26 lines
690 B
Nix
Raw Normal View History

2018-08-03 10:41:15 -05:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
2018-05-17 18:51:11 -05:00
buildGoPackage rec {
name = "easyjson-unstable-${version}";
2018-09-25 09:07:17 -05:00
version = "2018-08-23";
2018-05-17 18:51:11 -05:00
goPackagePath = "github.com/mailru/easyjson";
2018-08-03 10:41:15 -05:00
goDeps = ./deps.nix;
2018-05-17 18:51:11 -05:00
2018-08-03 10:41:15 -05:00
src = fetchFromGitHub {
owner = "mailru";
repo = "easyjson";
2018-09-25 09:07:17 -05:00
rev = "60711f1a8329503b04e1c88535f419d0bb440bff";
sha256 = "0234jp6134wkihdpdwq1hvzqblgl5khc1wp6dyi2h0hgh88bhdk1";
2018-05-17 18:51:11 -05:00
};
2018-08-03 10:41:15 -05:00
enableParallelBuilding = true;
2018-05-17 18:51:11 -05:00
meta = with stdenv.lib; {
homepage = "https://github.com/mailru/easyjson";
description = "Fast JSON serializer for golang";
license = licenses.mit;
maintainers = with maintainers; [ chiiruno ];
platforms = platforms.all;
};
}