summary refs log tree commit diff
path: root/pkgs/development/tools/easyjson/default.nix
blob: ed650f37698a1e19cb6e29683f6013bc8ce9fe1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "easyjson-unstable-${version}";
  version = "2018-08-23";
  goPackagePath = "github.com/mailru/easyjson";
  goDeps = ./deps.nix;

  src = fetchFromGitHub {
    owner = "mailru";
    repo = "easyjson";
    rev = "60711f1a8329503b04e1c88535f419d0bb440bff";
    sha256 = "0234jp6134wkihdpdwq1hvzqblgl5khc1wp6dyi2h0hgh88bhdk1";
  };

  enableParallelBuilding = true;

  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;
  };
}