aboutsummaryrefslogblamecommitdiff
path: root/nix/packages/goget.nix
blob: c767740168dd589be35845d759d7cc44637a8e14 (plain) (tree)






























                                                                                                  
{
  lib,
  buildGoModule,
}:

buildGoModule rec {
  pname = "goget";
  version = "0.1.0"; # Consider deriving from git tags: version = builtins.substring 0 8 self.rev;

  src = ../..;

  vendorHash = "sha256-pStRgjhjjZdsYSnYMcWNbHSF7CJ3+7ZQradZgBfi5Gw=";

  subPackages = [ "cmd/goget" ];

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

  doCheck = false;

  meta = with lib; {
    description = "A Go tool for getting things"; # Update with actual description
    homepage = "https://github.com/yourusername/yourrepo"; # Update with your repo
    license = licenses.mit;
    maintainers = with maintainers; [ fcuny ];
    platforms = platforms.unix;
    mainProgram = "goget";
  };
}