summary refs log tree commit diff
path: root/pkgs/development/tools/easyjson/default.nix
blob: 2a38626c552af913ecd296853c369b450e4463a0 (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 {
  pname = "easyjson-unstable";
  version = "2019-02-21";
  goPackagePath = "github.com/mailru/easyjson";
  goDeps = ./deps.nix;

  src = fetchFromGitHub {
    owner = "mailru";
    repo = "easyjson";
    rev = "6243d8e04c3f819e79757e8bc3faa15c3cb27003";
    sha256 = "160sj5pq4bv9jshniimkd5f9zcg6xrbgb027lhr9l895nsv4dlib";
  };

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