nixpkgs/pkgs/development/tools/gotests/default.nix
Vincent Demeester 502e32cfeb
gotests: init at 1.5.2
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-02-14 07:46:32 +01:00

26 lines
648 B
Nix

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