diff --git a/pkgs/development/tools/codespelunker/default.nix b/pkgs/development/tools/codespelunker/default.nix new file mode 100644 index 0000000000000..13258987eb362 --- /dev/null +++ b/pkgs/development/tools/codespelunker/default.nix @@ -0,0 +1,25 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "codespelunker"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "boyter"; + repo = "cs"; + rev = "v${version}"; + hash = "sha256-NN/78paePdvYHQ4J2aQu56PvEciOXY8DxHd4ajfVCFU="; + }; + + vendorHash = null; + + subPackages = [ "." ]; + + meta = with lib; { + description = "A command code search tool"; + homepage = "https://github.com/boyter/cs"; + license = with licenses; [ mit unlicense ]; + maintainers = with maintainers; [ viraptor ]; + mainProgram = "cs"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6089c2a285971..ac150d7b21789 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18185,6 +18185,8 @@ with pkgs; coder = callPackage ../development/tools/coder { }; + codespelunker = callPackage ../development/tools/codespelunker { }; + compile-daemon = callPackage ../development/tools/compile-daemon { }; complexity = callPackage ../development/tools/misc/complexity { };