diff options
author | Vincent Demeester <vincent@sbr.pm> | 2018-01-02 11:19:41 +0100 |
---|---|---|
committer | Vincent Demeester <vincent@sbr.pm> | 2018-01-02 11:19:41 +0100 |
commit | deb78410168ab7952e6884cf9cd2b90381309b40 (patch) | |
tree | 6c65cec598c7ecde06a4d8a1ef1e3ae78eb462d0 /pkgs/development/tools/goconvey | |
parent | a0be858835267656ac634386cabc946e5bec0fef (diff) | |
download | nixpkgs-deb78410168ab7952e6884cf9cd2b90381309b40.tar nixpkgs-deb78410168ab7952e6884cf9cd2b90381309b40.tar.gz nixpkgs-deb78410168ab7952e6884cf9cd2b90381309b40.tar.bz2 nixpkgs-deb78410168ab7952e6884cf9cd2b90381309b40.tar.lz nixpkgs-deb78410168ab7952e6884cf9cd2b90381309b40.tar.xz nixpkgs-deb78410168ab7952e6884cf9cd2b90381309b40.tar.zst nixpkgs-deb78410168ab7952e6884cf9cd2b90381309b40.zip |
goconvey: init at 1.6.3
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat (limited to 'pkgs/development/tools/goconvey')
-rw-r--r-- | pkgs/development/tools/goconvey/default.nix | 25 | ||||
-rw-r--r-- | pkgs/development/tools/goconvey/deps.nix | 20 |
2 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/development/tools/goconvey/default.nix b/pkgs/development/tools/goconvey/default.nix new file mode 100644 index 00000000000..e4ef9d26da2 --- /dev/null +++ b/pkgs/development/tools/goconvey/default.nix @@ -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; + }; +} diff --git a/pkgs/development/tools/goconvey/deps.nix b/pkgs/development/tools/goconvey/deps.nix new file mode 100644 index 00000000000..d329359da70 --- /dev/null +++ b/pkgs/development/tools/goconvey/deps.nix @@ -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"; + }; + } +] |