Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "zdns"; 8 version = "2022-03-14-unstable"; 9 10 src = fetchFromGitHub { 11 owner = "zmap"; 12 repo = pname; 13 rev = "d659a361f6d5165462c10e1c1243f420175e066b"; 14 hash = "sha256-856O6H03me3IM39/+6n56KJIetL+v4on6+lJx5D2Pcw="; 15 }; 16 17 vendorSha256 = "sha256-5kZ0voyicnqK/0yrMYW+gR1vVDyptW6I1HgyG4zleX8="; 18 19 meta = with lib; { 20 description = "CLI DNS lookup tool"; 21 homepage = "https://github.com/zmap/zdns"; 22 license = with licenses; [ asl20 ]; 23 maintainers = with maintainers; [ fab ]; 24 }; 25}