gotests: 1.5.3 -> 1.6.0
This commit is contained in:
parent
88a62d1cc8
commit
fd3be5cd56
|
@ -1,25 +1,25 @@
|
||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "gotests";
|
pname = "gotests";
|
||||||
version = "1.5.3";
|
version = "1.6.0";
|
||||||
rev = "v${version}";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/cweill/gotests";
|
|
||||||
excludedPackages = "testdata";
|
|
||||||
goDeps = ./deps.nix;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
|
||||||
owner = "cweill";
|
owner = "cweill";
|
||||||
repo = "gotests";
|
repo = "gotests";
|
||||||
sha256 = "1c0hly31ax0wk01zdx0l0yl40xybaizjfb3gjxia2z0mgx330dq9";
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-6IzUpAsFUgF2FwiC17OfDn1M+8WYFQPpRyXbkpHIztw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
vendorSha256 = "sha256-WMeHZN3s+8pIYEVaSLjI3Bz+rPTWHr1AkZ8lydjBwCw=";
|
||||||
|
|
||||||
|
# tests are broken in nix environment
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Generate Go tests from your source code";
|
description = "Generate Go tests from your source code";
|
||||||
homepage = "https://github.com/cweill/gotests";
|
homepage = "https://github.com/cweill/gotests";
|
||||||
maintainers = with lib.maintainers; [ vdemeester ];
|
maintainers = with maintainers; [ vdemeester ];
|
||||||
license = lib.licenses.asl20;
|
license = licenses.asl20;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
12
pkgs/development/tools/gotests/deps.nix
generated
12
pkgs/development/tools/gotests/deps.nix
generated
|
@ -1,12 +0,0 @@
|
||||||
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
|
||||||
[
|
|
||||||
{
|
|
||||||
goPackagePath = "golang.org/x/tools";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://go.googlesource.com/tools";
|
|
||||||
rev = "23463209683dad3f2b9cc7f7c2663e1847c59017";
|
|
||||||
sha256 = "1shzfl4zixhj78v4f6y04bcmfl705yr5q8hp72ndbbma0mh09g8f";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in a new issue