mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #33325 from vdemeester/init-goconvey
goconvey: init at 1.6.3
This commit is contained in:
commit
0dd3de2765
3 changed files with 47 additions and 0 deletions
25
pkgs/development/tools/goconvey/default.nix
Normal file
25
pkgs/development/tools/goconvey/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "goconvey-${version}";
|
||||
version = "1.6.3";
|
||||
|
||||
goPackagePath = "github.com/smartystreets/goconvey";
|
||||
excludedPackages = "web/server/watch/integration_testing";
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "smartystreets";
|
||||
repo = "goconvey";
|
||||
rev = "${version}";
|
||||
sha256 = "1ph18rkl3ns3fgin5i4j54w5a69grrmf3apcsmnpdn1wlrbs3dxh";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.";
|
||||
homepage = https://github.com/smartystreets/goconvey;
|
||||
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
}
|
20
pkgs/development/tools/goconvey/deps.nix
Normal file
20
pkgs/development/tools/goconvey/deps.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "github.com/jtolds/gls";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/jtolds/gls";
|
||||
rev = "77f18212c9c7edc9bd6a33d383a7b545ce62f064";
|
||||
sha256 = "1vm37pvn0k4r6d3m620swwgama63laz8hhj3pyisdhxwam4m2g1h";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/smartystreets/assertions";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/smartystreets/assertions";
|
||||
rev = "0b37b35ec7434b77e77a4bb29b79677cced992ea";
|
||||
sha256 = "1j0adgbykl55rf2945g0n5bmqdsnjcqlx5dcmpfh4chki43hiwg9";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -13110,6 +13110,8 @@ with pkgs;
|
|||
|
||||
gocode = callPackage ../development/tools/gocode { };
|
||||
|
||||
goconvey = callPackage ../development/tools/goconvey { };
|
||||
|
||||
gotags = callPackage ../development/tools/gotags { };
|
||||
|
||||
golint = callPackage ../development/tools/golint { };
|
||||
|
|
Loading…
Reference in a new issue