Unverified Commit a7d39904 authored by Darryl Magadzika's avatar Darryl Magadzika Committed by GitHub
Browse files

gh-s: init at 0.0.8 (#313455)

parent a39290df
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "gh-s";
  version = "0.0.8";

  src = fetchFromGitHub {
    owner = "gennaro-tedesco";
    repo = "gh-s";
    rev = "v${version}";
    hash = "sha256-hLfaAtWiJHCJ7MFz8dg4SJJB2cNY1gKUEwMAdRB4lr8=";
  };

  vendorHash = "sha256-5UJAgsPND6WrOZZ5PUZNdwd7/0NPdhD1SaZJzZ+2VvM=";

  ldflags = [
    "-s"
    "-w"
  ];

  meta = with lib; {
    description = "Search github repositories interactively";
    homepage = "https://github.com/gennaro-tedesco/gh-s";
    license = licenses.asl20;
    maintainers = with maintainers; [ daru-san ];
    mainProgram = "gh-s";
  };
}