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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
592 B
Nix
Raw Normal View History

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
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;
maintainers = with maintainers; [ Madouura ];
2018-05-18 01:51:11 +02:00
};
}