From d334c136dedb03b4ff8292a2a14d16401ce3abd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Mon, 5 Jun 2023 21:11:41 +1000 Subject: [PATCH] codespelunker: init at 1.0.0 --- .../tools/codespelunker/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/tools/codespelunker/default.nix diff --git a/pkgs/development/tools/codespelunker/default.nix b/pkgs/development/tools/codespelunker/default.nix new file mode 100644 index 000000000000..13258987eb36 --- /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 6089c2a28597..ac150d7b2178 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 { };