blob: c767740168dd589be35845d759d7cc44637a8e14 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
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";
};
}
|