2021-12-06 16:07:01 +00:00
|
|
|
{ lib, buildGo117Module, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGo117Module rec {
|
|
|
|
pname = "dstp";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "0.4.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ycd";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-YvuUgHHa8Egk+bbSI0SH0i3YrKWRbzjAckNG32RBRXw=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
vendorSha256 = "sha256-qNH71MPKOC0ld7xxppjZrHSTJ6t8E0LljM1OzT7pM9g=";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|