Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 25 lines 643 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "dstp"; 5 version = "0.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "ycd"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-YvuUgHHa8Egk+bbSI0SH0i3YrKWRbzjAckNG32RBRXw="; 12 }; 13 14 vendorSha256 = "sha256-qNH71MPKOC0ld7xxppjZrHSTJ6t8E0LljM1OzT7pM9g="; 15 16 # Tests require network connection, but is not allowed by nix 17 doCheck = false; 18 19 meta = with lib; { 20 description = "Run common networking tests against your site"; 21 homepage = "https://github.com/ycd/dstp"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ jlesquembre ]; 24 }; 25}