mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
Merge pull request #169107 from Madouura/dev/easyjson
easyjson: unstable-2019-06-26 -> 0.7.7
This commit is contained in:
commit
5f9bdd8dfb
|
@ -1,15 +1,16 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage {
|
||||
buildGoPackage rec {
|
||||
pname = "easyjson";
|
||||
version = "unstable-2019-06-26";
|
||||
version = "0.7.7";
|
||||
goPackagePath = "github.com/mailru/easyjson";
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mailru";
|
||||
repo = "easyjson";
|
||||
rev = "b2ccc519800e761ac8000b95e5d57c80a897ff9e";
|
||||
sha256 = "0q85h383mhbkcjm2vqm72bi8n2252fv3c56q3lclzb8n2crnjcdk";
|
||||
rev = "v${version}";
|
||||
sha256 = "0clifkvvy8f45rv3cdyv58dglzagyvfcqb63wl6rij30c5j2pzc1";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
11
pkgs/development/tools/easyjson/deps.nix
generated
Normal file
11
pkgs/development/tools/easyjson/deps.nix
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "github.com/josharian/intern";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/josharian/intern";
|
||||
rev = "8e6ff32b3e7c0b018c43953085fe2ac330fe9acd";
|
||||
sha256 = "1za48ppvwd5vg8vv25ldmwz1biwpb3p6qhf8vazhsfdg9m07951c";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue