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

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

23 lines
562 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2018-05-18 00:51:11 +01:00
2022-04-17 21:51:51 +01:00
buildGoPackage rec {
2019-08-23 07:56:59 +01:00
pname = "easyjson";
2022-04-17 21:51:51 +01:00
version = "0.7.7";
2018-05-18 00:51:11 +01:00
goPackagePath = "github.com/mailru/easyjson";
2022-04-17 21:51:51 +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";
2022-04-17 21:51:51 +01:00
rev = "v${version}";
sha256 = "0clifkvvy8f45rv3cdyv58dglzagyvfcqb63wl6rij30c5j2pzc1";
2018-05-18 00:51:11 +01:00
};
meta = with lib; {
2018-05-18 00:51:11 +01:00
homepage = "https://github.com/mailru/easyjson";
description = "Fast JSON serializer for golang";
license = licenses.mit;
maintainers = with maintainers; [ Madouura ];
2018-05-18 00:51:11 +01:00
};
}