impl: unstable-2019-11-19 -> 1.0.0

This commit is contained in:
Ben Siraphob 2020-12-29 16:49:19 +07:00
parent 2b556ea671
commit 8b4c20215a
2 changed files with 10 additions and 43 deletions

View File

@ -1,23 +1,20 @@
{ buildGoPackage { buildGoModule, lib, fetchFromGitHub }:
, lib
, fetchFromGitHub
}:
buildGoPackage rec { buildGoModule rec {
pname = "impl-unstable"; pname = "impl";
version = "2019-11-19"; version = "1.0.0";
rev = "6b9658ad00c7fbd61a7b50c195754413f6c4142c";
goPackagePath = "github.com/josharian/impl";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev;
owner = "josharian"; owner = "josharian";
repo = "impl"; repo = "impl";
sha256 = "1d4fvj7fgiykznx1z4fmcc06x5hsqp9wn62m5qm1ds8m0rjqaxwi"; rev = "v${version}";
sha256 = "0l21fkcgiaaf6ka91dmz8hx0l3nbp0kqi8p25kij1s5zb796z0dy";
}; };
goDeps = ./deps.nix; vendorSha256 = "0xkalwy02w62px01jdwwr3vwwsh50f22dsxf8lrrwmw6k0rq57zv";
# go: cannot find GOROOT directory: go
doCheck = false;
meta = with lib; { meta = with lib; {
description = "Generate method stubs for implementing an interface"; description = "Generate method stubs for implementing an interface";

View File

@ -1,30 +0,0 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "golang.org/x/mod";
fetch = {
type = "git";
url = "https://go.googlesource.com/mod";
rev = "2addee1ccfb22349ab47953a3046338e461eb4d1";
sha256 = "1r0drcji290nlq9czibcfynpwxyqx8a5p4b7lam6wblbh2lasfb6";
};
}
{
goPackagePath = "golang.org/x/tools";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "72e4a01eba4315301fd9ce00c8c2f492580ded8a";
sha256 = "0a8c7j4w784w441j3j3bh640vy1g6g214641qv485wyi0xj49anf";
};
}
{
goPackagePath = "golang.org/x/xerrors";
fetch = {
type = "git";
url = "https://go.googlesource.com/xerrors";
rev = "9bdfabe68543c54f90421aeb9a60ef8061b5b544";
sha256 = "1yjfi1bk9xb81lqn85nnm13zz725wazvrx3b50hx19qmwg7a4b0c";
};
}
]