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

26 lines
690 B
Nix
Raw Normal View History

2018-08-03 16:41:15 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
2018-05-18 00:51:11 +01:00
buildGoPackage rec {
name = "easyjson-unstable-${version}";
2018-09-25 15:07:17 +01:00
version = "2018-08-23";
2018-05-18 00:51:11 +01:00
goPackagePath = "github.com/mailru/easyjson";
2018-08-03 16:41:15 +01:00
goDeps = ./deps.nix;
2018-05-18 00:51:11 +01:00
2018-08-03 16:41:15 +01:00
src = fetchFromGitHub {
owner = "mailru";
repo = "easyjson";
2018-09-25 15:07:17 +01:00
rev = "60711f1a8329503b04e1c88535f419d0bb440bff";
sha256 = "0234jp6134wkihdpdwq1hvzqblgl5khc1wp6dyi2h0hgh88bhdk1";
2018-05-18 00:51:11 +01:00
};
2018-08-03 16:41:15 +01:00
enableParallelBuilding = true;
2018-05-18 00:51:11 +01: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;
};
}