depot/third_party/nixpkgs/pkgs/development/tools/gotests/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
635 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gotests";
version = "1.5.3";
rev = "v${version}";
goPackagePath = "github.com/cweill/gotests";
excludedPackages = "testdata";
goDeps = ./deps.nix;
src = fetchFromGitHub {
inherit rev;
owner = "cweill";
repo = "gotests";
sha256 = "1c0hly31ax0wk01zdx0l0yl40xybaizjfb3gjxia2z0mgx330dq9";
};
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;
};
}