go-check: init unstable at 2018-09-12
This commit is contained in:
parent
fe83c5c3f5
commit
f10fcf202b
30
pkgs/development/tools/check/default.nix
Normal file
30
pkgs/development/tools/check/default.nix
Normal 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
11
pkgs/development/tools/check/deps.nix
generated
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/tools";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/tools";
|
||||||
|
rev = "677d2ff680c1";
|
||||||
|
sha256 = "0vp1w1haqcjd82dxd6x9xrllbfwvm957rxwkpji96cgvhsli2bq5";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
@ -659,6 +659,8 @@ with pkgs;
|
|||||||
|
|
||||||
cconv = callPackage ../tools/text/cconv { };
|
cconv = callPackage ../tools/text/cconv { };
|
||||||
|
|
||||||
|
go-check = callPackage ../development/tools/check { };
|
||||||
|
|
||||||
chkcrontab = callPackage ../tools/admin/chkcrontab { };
|
chkcrontab = callPackage ../tools/admin/chkcrontab { };
|
||||||
|
|
||||||
cozy = callPackage ../applications/audio/cozy-audiobooks { };
|
cozy = callPackage ../applications/audio/cozy-audiobooks { };
|
||||||
|
Loading…
Reference in New Issue
Block a user