diff options
author | Wael M. Nasreddine <wael.nasreddine@gmail.com> | 2018-11-02 21:01:49 -0700 |
---|---|---|
committer | Wael M. Nasreddine <wael.nasreddine@gmail.com> | 2018-11-02 22:04:43 -0700 |
commit | f10fcf202bf2acac2d276b0689b932babe8998bf (patch) | |
tree | e30985c694dcbb63932c79d0dbe995d4480cbd59 /pkgs/development/tools/check | |
parent | fe83c5c3f58636f78635d9ed721816f091e41470 (diff) |
go-check: init unstable at 2018-09-12
Diffstat (limited to 'pkgs/development/tools/check')
-rw-r--r-- | pkgs/development/tools/check/default.nix | 30 | ||||
-rw-r--r-- | pkgs/development/tools/check/deps.nix | 11 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/tools/check/default.nix b/pkgs/development/tools/check/default.nix new file mode 100644 index 000000000000..dfa164e6755c --- /dev/null +++ b/pkgs/development/tools/check/default.nix @@ -0,0 +1,30 @@ +{ buildGoPackage +, lib +, fetchFromGitLab +}: + +buildGoPackage rec { + name = "check-unstable-${version}"; + version = "2018-09-12"; + rev = "88db195993f8e991ad402754accd0635490769f9"; + + goPackagePath = "gitlab.com/opennota/check"; + + src = fetchFromGitLab { + inherit rev; + + owner = "opennota"; + repo = "check"; + sha256 = "1983xmdkgpqda4qz8ashc6xv1zg5jl4zly3w566grxc5sfxpgf0i"; + }; + + goDeps = ./deps.nix; + + 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 new file mode 100644 index 000000000000..b9c50d95d117 --- /dev/null +++ b/pkgs/development/tools/check/deps.nix @@ -0,0 +1,11 @@ +[ + { + goPackagePath = "golang.org/x/tools"; + fetch = { + type = "git"; + url = "https://go.googlesource.com/tools"; + rev = "677d2ff680c1"; + sha256 = "0vp1w1haqcjd82dxd6x9xrllbfwvm957rxwkpji96cgvhsli2bq5"; + }; + } +] |