about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorStanisław Pitucha <git@viraptor.info>2023-10-17 15:12:36 +1100
committerStanisław Pitucha <git@viraptor.info>2023-10-17 15:12:36 +1100
commit9ee7f4b58a7090536141854c9fc70410a6e37dde (patch)
treeece973e6df37d7db9083aa7514b4c3301af4b805 /pkgs/by-name
parent108a0952039146aefa1a03c911e88f7880cc0d3b (diff)
codespelunker: migrate to by-name
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/co/codespelunker/package.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/by-name/co/codespelunker/package.nix b/pkgs/by-name/co/codespelunker/package.nix
new file mode 100644
index 0000000000000..28d031d2b0360
--- /dev/null
+++ b/pkgs/by-name/co/codespelunker/package.nix
@@ -0,0 +1,25 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "codespelunker";
+  version = "1.4.0";
+
+  src = fetchFromGitHub {
+    owner = "boyter";
+    repo = "cs";
+    rev = "v${version}";
+    hash = "sha256-FZf3aRozpXWTRDrNDRxb1dGBXiLVEYOUd8a/hqzThps=";
+  };
+
+  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";
+  };
+}