mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #107873 from siraben/impl-update
impl: unstable-2020-11-19 -> 1.0.0
This commit is contained in:
commit
15614fbe39
@ -1,23 +1,20 @@
|
||||
{ buildGoPackage
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
{ buildGoModule, lib, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "impl-unstable";
|
||||
version = "2019-11-19";
|
||||
rev = "6b9658ad00c7fbd61a7b50c195754413f6c4142c";
|
||||
|
||||
goPackagePath = "github.com/josharian/impl";
|
||||
buildGoModule rec {
|
||||
pname = "impl";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "josharian";
|
||||
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; {
|
||||
description = "Generate method stubs for implementing an interface";
|
||||
|
30
pkgs/development/tools/impl/deps.nix
generated
30
pkgs/development/tools/impl/deps.nix
generated
@ -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";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user