nixpkgs/pkgs/development/tools/easyjson/default.nix

26 lines
690 B
Nix
Raw Normal View History

2018-08-03 17:41:15 +02:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
2018-05-18 01:51:11 +02:00
buildGoPackage rec {
name = "easyjson-unstable-${version}";
2019-03-10 15:47:54 +01:00
version = "2019-02-21";
2018-05-18 01:51:11 +02:00
goPackagePath = "github.com/mailru/easyjson";
2018-08-03 17:41:15 +02:00
goDeps = ./deps.nix;
2018-05-18 01:51:11 +02:00
2018-08-03 17:41:15 +02:00
src = fetchFromGitHub {
owner = "mailru";
repo = "easyjson";
2019-03-10 15:47:54 +01:00
rev = "6243d8e04c3f819e79757e8bc3faa15c3cb27003";
sha256 = "160sj5pq4bv9jshniimkd5f9zcg6xrbgb027lhr9l895nsv4dlib";
2018-05-18 01:51:11 +02:00
};
2018-08-03 17:41:15 +02:00
enableParallelBuilding = true;
2018-05-18 01:51:11 +02: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;
};
}