2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:23:02 +00:00
nixpkgs/pkgs/development/tools/easyjson/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

27 lines
590 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "easyjson";
version = "0.7.7";
src = fetchFromGitHub {
owner = "mailru";
repo = "easyjson";
rev = "v${version}";
sha256 = "0clifkvvy8f45rv3cdyv58dglzagyvfcqb63wl6rij30c5j2pzc1";
};
vendorHash = "sha256-L8u7QQPE2SnskcRrSIwQ4KhsX9xncqDWXJ75ytjxLJ4=";
subPackages = [ "easyjson" ];
meta = with lib; {
homepage = "https://github.com/mailru/easyjson";
description = "Fast JSON serializer for Go";
license = licenses.mit;
maintainers = with maintainers; [ Madouura ];
};
}