2018-08-03 18:41:15 +03:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2018-05-18 02:51:11 +03:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "easyjson-unstable-${version}";
|
2018-08-03 18:41:15 +03:00
|
|
|
version = "2018-07-30";
|
2018-05-18 02:51:11 +03:00
|
|
|
goPackagePath = "github.com/mailru/easyjson";
|
2018-08-03 18:41:15 +03:00
|
|
|
goDeps = ./deps.nix;
|
2018-05-18 02:51:11 +03:00
|
|
|
|
2018-08-03 18:41:15 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mailru";
|
|
|
|
repo = "easyjson";
|
|
|
|
rev = "03f2033d19d5860aef995fe360ac7d395cd8ce65";
|
|
|
|
sha256 = "0r62ym6m1ijby7nwplq0gdnhak8in63njyisrwhr3xpx9vkira97";
|
2018-05-18 02:51:11 +03:00
|
|
|
};
|
|
|
|
|
2018-08-03 18:41:15 +03:00
|
|
|
enableParallelBuilding = true;
|
2018-05-18 02:51:11 +03: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;
|
|
|
|
};
|
|
|
|
}
|