nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage {
4 pname = "easyjson";
5 version = "unstable-2019-06-26";
6 goPackagePath = "github.com/mailru/easyjson";
7 goDeps = ./deps.nix;
8
9 src = fetchFromGitHub {
10 owner = "mailru";
11 repo = "easyjson";
12 rev = "b2ccc519800e761ac8000b95e5d57c80a897ff9e";
13 sha256 = "0q85h383mhbkcjm2vqm72bi8n2252fv3c56q3lclzb8n2crnjcdk";
14 };
15
16 enableParallelBuilding = true;
17
18 meta = with stdenv.lib; {
19 homepage = "https://github.com/mailru/easyjson";
20 description = "Fast JSON serializer for golang";
21 license = licenses.mit;
22 maintainers = with maintainers; [ chiiruno ];
23 platforms = platforms.all;
24 };
25}