mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
gotests: init at 1.5.2
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
6d442efe99
commit
502e32cfeb
25
pkgs/development/tools/gotests/default.nix
Normal file
25
pkgs/development/tools/gotests/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "gotests-${version}";
|
||||
version = "1.5.2";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/cweill/gotests";
|
||||
excludedPackages = "testdata";
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "cweill";
|
||||
repo = "gotests";
|
||||
sha256 = "0ff2jvpc1xb5jr6dv9izlpfavxaivzirqmdmicpznrqjz0d56pri";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Generate Go tests from your source code.";
|
||||
homepage = https://github.com/cweill/gotests;
|
||||
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
};
|
||||
}
|
11
pkgs/development/tools/gotests/deps.nix
Normal file
11
pkgs/development/tools/gotests/deps.nix
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "golang.org/x/tools";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/golang/tools";
|
||||
rev = "96b5a5404f303f074e6117d832a9873c439508f0";
|
||||
sha256 = "1h6r9xyp1v3w2x8d108vzghn65l6ia2h895irypmrwymfcp30y42";
|
||||
};
|
||||
}
|
||||
]
|
@ -13395,6 +13395,8 @@ with pkgs;
|
||||
|
||||
gomodifytags = callPackage ../development/tools/gomodifytags { };
|
||||
|
||||
gotests = callPackage ../development/tools/gotests { };
|
||||
|
||||
gogoclient = callPackage ../os-specific/linux/gogoclient { };
|
||||
|
||||
nss_ldap = callPackage ../os-specific/linux/nss_ldap { };
|
||||
|
Loading…
Reference in New Issue
Block a user