Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

gotests: init at 1.5.2

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

+38
+25
pkgs/development/tools/gotests/default.nix
··· 1 + { stdenv, lib, buildGoPackage, fetchFromGitHub }: 2 + 3 + buildGoPackage rec { 4 + name = "gotests-${version}"; 5 + version = "1.5.2"; 6 + rev = "v${version}"; 7 + 8 + goPackagePath = "github.com/cweill/gotests"; 9 + excludedPackages = "testdata"; 10 + goDeps = ./deps.nix; 11 + 12 + src = fetchFromGitHub { 13 + inherit rev; 14 + owner = "cweill"; 15 + repo = "gotests"; 16 + sha256 = "0ff2jvpc1xb5jr6dv9izlpfavxaivzirqmdmicpznrqjz0d56pri"; 17 + }; 18 + 19 + meta = { 20 + description = "Generate Go tests from your source code."; 21 + homepage = https://github.com/cweill/gotests; 22 + maintainers = with stdenv.lib.maintainers; [ vdemeester ]; 23 + license = stdenv.lib.licenses.asl20; 24 + }; 25 + }
+11
pkgs/development/tools/gotests/deps.nix
··· 1 + [ 2 + { 3 + goPackagePath = "golang.org/x/tools"; 4 + fetch = { 5 + type = "git"; 6 + url = "https://github.com/golang/tools"; 7 + rev = "96b5a5404f303f074e6117d832a9873c439508f0"; 8 + sha256 = "1h6r9xyp1v3w2x8d108vzghn65l6ia2h895irypmrwymfcp30y42"; 9 + }; 10 + } 11 + ]
+2
pkgs/top-level/all-packages.nix
··· 13395 13395 13396 13396 gomodifytags = callPackage ../development/tools/gomodifytags { }; 13397 13397 13398 + gotests = callPackage ../development/tools/gotests { }; 13399 + 13398 13400 gogoclient = callPackage ../os-specific/linux/gogoclient { }; 13399 13401 13400 13402 nss_ldap = callPackage ../os-specific/linux/nss_ldap { };