about summary refs log tree commit diff
path: root/pkgs/development/tools/dstp
diff options
context:
space:
mode:
authorJosé Luis Lafuente <jl@lafuente.me>2021-11-11 12:07:39 +0100
committerJosé Luis Lafuente <jl@lafuente.me>2021-11-13 08:50:20 +0100
commit015cc5d95942e7f79fe528a17825571484e7a0da (patch)
tree2f1b8783e1860a729005f68fd91f01a1324d0d94 /pkgs/development/tools/dstp
parent592d84b591967909dc7a283b78fb6ba6b6429946 (diff)
dstp: init at 0.3.0
Diffstat (limited to 'pkgs/development/tools/dstp')
-rw-r--r--pkgs/development/tools/dstp/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/tools/dstp/default.nix b/pkgs/development/tools/dstp/default.nix
new file mode 100644
index 0000000000000..89661612b4ee6
--- /dev/null
+++ b/pkgs/development/tools/dstp/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildGo117Module, fetchFromGitHub }:
+
+buildGo117Module rec {
+  pname = "dstp";
+  version = "0.3.0";
+
+  src = fetchFromGitHub {
+    owner = "ycd";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1pxzaz2a261lsnbdbr9km1214a4jzq2wgkdfvf9g966gsa4nqfl6";
+  };
+
+  vendorSha256 = "1n1kx4zcskndikjl44vwmckr6x5cv6cacwdwfwjjsf6aqgagpld8";
+
+  # Tests require network connection, but is not allowed by nix
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Run common networking tests against your site";
+    homepage = "https://github.com/ycd/dstp";
+    license = licenses.mit;
+    maintainers = with maintainers; [ jlesquembre ];
+  };
+}