summary refs log tree commit diff
path: root/pkgs/development/tools/goconvey/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/goconvey/default.nix')
-rw-r--r--pkgs/development/tools/goconvey/default.nix25
1 files changed, 25 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;
+  };
+}