diff options
author | Azat Bahawi <azat@bahawi.net> | 2022-06-12 02:30:28 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-06-12 02:30:28 +0300 |
commit | e90ede62f2fce749887f980fd2a99cff6e7e6ce7 (patch) | |
tree | 7d711240c0a63d895d0db95cf65f05c1a6128f9d | |
parent | 2d012163f23495d81116960fae15288db5285ec7 (diff) |
go-check: 2018-09-12 -> unstable-2018-12-24
-rw-r--r-- | pkgs/development/tools/check/default.nix | 22 | ||||
-rw-r--r-- | pkgs/development/tools/check/deps.nix | 11 |
2 files changed, 9 insertions, 24 deletions
diff --git a/pkgs/development/tools/check/default.nix b/pkgs/development/tools/check/default.nix index a28124828f90b..f74578e25a0d3 100644 --- a/pkgs/development/tools/check/default.nix +++ b/pkgs/development/tools/check/default.nix @@ -1,30 +1,26 @@ -{ buildGoPackage -, lib +{ lib +, buildGoModule , fetchFromGitLab }: -buildGoPackage rec { - pname = "check-unstable"; - version = "2018-09-12"; - rev = "88db195993f8e991ad402754accd0635490769f9"; - - goPackagePath = "gitlab.com/opennota/check"; +buildGoModule rec { + pname = "check"; + version = "unstable-2018-12-24"; + rev = "ccaba434e62accd51209476ad093810bd27ec150"; src = fetchFromGitLab { - inherit rev; - owner = "opennota"; repo = "check"; - sha256 = "1983xmdkgpqda4qz8ashc6xv1zg5jl4zly3w566grxc5sfxpgf0i"; + inherit rev; + sha256 = "sha256-u8U/62LZEn1ffwdGsUCGam4HAk7b2LetomCLZzHuuas="; }; - goDeps = ./deps.nix; + vendorSha256 = "sha256-DyysiVYFpncmyCzlHIOEtWlCMpm90AC3gdItI9WinSo="; meta = with lib; { description = "A set of utilities for checking Go sources"; homepage = "https://gitlab.com/opennota/check"; license = licenses.gpl3; maintainers = with maintainers; [ kalbasit ]; - platforms = platforms.linux ++ platforms.darwin; }; } diff --git a/pkgs/development/tools/check/deps.nix b/pkgs/development/tools/check/deps.nix deleted file mode 100644 index b9c50d95d117c..0000000000000 --- a/pkgs/development/tools/check/deps.nix +++ /dev/null @@ -1,11 +0,0 @@ -[ - { - goPackagePath = "golang.org/x/tools"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/tools"; - rev = "677d2ff680c1"; - sha256 = "0vp1w1haqcjd82dxd6x9xrllbfwvm957rxwkpji96cgvhsli2bq5"; - }; - } -] |