nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "dstp";
9 version = "0.4.23";
10
11 src = fetchFromGitHub {
12 owner = "ycd";
13 repo = "dstp";
14 rev = "v${version}";
15 sha256 = "sha256-QODp9IbIc2Z7N/xfRd0UV9r8t6RndOjdGe9hQXJyiN0=";
16 };
17
18 vendorHash = "sha256-EE3xSRu7zAuQjaXCdTD924K6OamEkdxHYEaM0rW/O+o=";
19
20 # Tests require network connection, but is not allowed by nix
21 doCheck = false;
22
23 meta = {
24 description = "Run common networking tests against your site";
25 mainProgram = "dstp";
26 homepage = "https://github.com/ycd/dstp";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ jlesquembre ];
29 };
30}