nixpkgs/pkgs/development/tools/gotests/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
628 B
Nix
Raw Normal View History

2022-02-07 17:03:20 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2022-02-07 17:03:20 +00:00
buildGoModule rec {
pname = "gotests";
2022-02-07 17:03:20 +00:00
version = "1.6.0";
src = fetchFromGitHub {
owner = "cweill";
repo = "gotests";
2022-02-07 17:03:20 +00:00
rev = "v${version}";
sha256 = "sha256-6IzUpAsFUgF2FwiC17OfDn1M+8WYFQPpRyXbkpHIztw=";
};
vendorHash = "sha256-WMeHZN3s+8pIYEVaSLjI3Bz+rPTWHr1AkZ8lydjBwCw=";
2022-02-07 17:03:20 +00:00
# tests are broken in nix environment
doCheck = false;
meta = with lib; {
description = "Generate Go tests from your source code";
homepage = "https://github.com/cweill/gotests";
2022-02-07 17:03:20 +00:00
maintainers = with maintainers; [ vdemeester ];
license = licenses.asl20;
};
}