2022-06-05 22:27:55 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2018-05-18 01:51:11 +02:00
|
|
|
|
2022-06-05 22:27:55 +02:00
|
|
|
buildGoModule rec {
|
2019-08-23 08:56:59 +02:00
|
|
|
pname = "easyjson";
|
2022-04-17 22:51:51 +02:00
|
|
|
version = "0.7.7";
|
2018-05-18 01:51:11 +02:00
|
|
|
|
2018-08-03 17:41:15 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mailru";
|
|
|
|
repo = "easyjson";
|
2022-04-17 22:51:51 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0clifkvvy8f45rv3cdyv58dglzagyvfcqb63wl6rij30c5j2pzc1";
|
2018-05-18 01:51:11 +02:00
|
|
|
};
|
2022-06-05 22:27:55 +02:00
|
|
|
vendorSha256 = "sha256-L8u7QQPE2SnskcRrSIwQ4KhsX9xncqDWXJ75ytjxLJ4=";
|
|
|
|
|
|
|
|
subPackages = [ "easyjson" ];
|
2018-05-18 01:51:11 +02:00
|
|
|
|
2021-01-23 13:26:19 +01:00
|
|
|
meta = with lib; {
|
2018-05-18 01:51:11 +02:00
|
|
|
homepage = "https://github.com/mailru/easyjson";
|
2022-06-05 22:27:55 +02:00
|
|
|
description = "Fast JSON serializer for Go";
|
2018-05-18 01:51:11 +02:00
|
|
|
license = licenses.mit;
|
2022-04-18 01:13:36 +02:00
|
|
|
maintainers = with maintainers; [ Madouura ];
|
2018-05-18 01:51:11 +02:00
|
|
|
};
|
|
|
|
}
|