mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
26 lines
617 B
Nix
26 lines
617 B
Nix
{ lib, 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 lib.maintainers; [ vdemeester ];
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|