1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/development/tools/easyjson/default.nix

26 lines
676 B
Nix
Raw Normal View History

2018-08-03 11:41:15 -04:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
2018-05-17 19:51:11 -04:00
2019-08-13 17:52:01 -04:00
buildGoPackage {
2019-08-23 02:56:59 -04:00
pname = "easyjson";
version = "unstable-2019-06-26";
2018-05-17 19:51:11 -04:00
goPackagePath = "github.com/mailru/easyjson";
2018-08-03 11:41:15 -04:00
goDeps = ./deps.nix;
2018-05-17 19:51:11 -04:00
2018-08-03 11:41:15 -04:00
src = fetchFromGitHub {
owner = "mailru";
repo = "easyjson";
2019-08-23 02:56:59 -04:00
rev = "b2ccc519800e761ac8000b95e5d57c80a897ff9e";
sha256 = "0q85h383mhbkcjm2vqm72bi8n2252fv3c56q3lclzb8n2crnjcdk";
2018-05-17 19:51:11 -04:00
};
2018-08-03 11:41:15 -04:00
enableParallelBuilding = true;
2018-05-17 19:51:11 -04: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;
};
}