Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildGoModule 2, fetchFromGitHub 3, lib 4}: 5 6buildGoModule rec { 7 pname = "nosqli"; 8 version = "0.5.4"; 9 10 src = fetchFromGitHub { 11 owner = "Charlie-belmer"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "sha256-CgD9b5eHDK/8QhQmrqT09Jf9snn9WItNMtTNbJFT2sI="; 15 }; 16 17 vendorSha256 = "sha256-QnrzEei4Pt4C0vCJu4YN28lWWAqEikmNLrqshd3knx4="; 18 19 meta = with lib; { 20 description = "NoSql Injection tool for finding vulnerable websites using MongoDB"; 21 homepage = "https://github.com/Charlie-belmer/nosqli"; 22 license = with licenses; [ agpl3Plus ]; 23 maintainers = with maintainers; [ fab ]; 24 }; 25}