Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 587 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "codespelunker"; 9 version = "1.4.0"; 10 11 src = fetchFromGitHub { 12 owner = "boyter"; 13 repo = "cs"; 14 rev = "v${version}"; 15 hash = "sha256-FZf3aRozpXWTRDrNDRxb1dGBXiLVEYOUd8a/hqzThps="; 16 }; 17 18 vendorHash = null; 19 20 subPackages = [ "." ]; 21 22 meta = with lib; { 23 description = "Command code search tool"; 24 homepage = "https://github.com/boyter/cs"; 25 license = with licenses; [ 26 mit 27 unlicense 28 ]; 29 maintainers = with maintainers; [ viraptor ]; 30 mainProgram = "cs"; 31 }; 32}