diff options
author | Stanisław Pitucha <git@viraptor.info> | 2023-10-17 15:12:36 +1100 |
---|---|---|
committer | Stanisław Pitucha <git@viraptor.info> | 2023-10-17 15:12:36 +1100 |
commit | 9ee7f4b58a7090536141854c9fc70410a6e37dde (patch) | |
tree | ece973e6df37d7db9083aa7514b4c3301af4b805 /pkgs/by-name/co/codespelunker | |
parent | 108a0952039146aefa1a03c911e88f7880cc0d3b (diff) |
codespelunker: migrate to by-name
Diffstat (limited to 'pkgs/by-name/co/codespelunker')
-rw-r--r-- | pkgs/by-name/co/codespelunker/package.nix | 25 |
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"; + }; +} |