go-check: init unstable at 2018-09-12

This commit is contained in:
Wael M. Nasreddine 2018-11-02 21:01:49 -07:00
parent fe83c5c3f5
commit f10fcf202b
No known key found for this signature in database
GPG key ID: 82AE0A31B33CEFCF
3 changed files with 43 additions and 0 deletions

View file

@ -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;
};
}

11
pkgs/development/tools/check/deps.nix generated Normal file
View file

@ -0,0 +1,11 @@
[
{
goPackagePath = "golang.org/x/tools";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "677d2ff680c1";
sha256 = "0vp1w1haqcjd82dxd6x9xrllbfwvm957rxwkpji96cgvhsli2bq5";
};
}
]

View file

@ -659,6 +659,8 @@ with pkgs;
cconv = callPackage ../tools/text/cconv { };
go-check = callPackage ../development/tools/check { };
chkcrontab = callPackage ../tools/admin/chkcrontab { };
cozy = callPackage ../applications/audio/cozy-audiobooks { };