Skip to content

Commit ee83760

Browse files
committed
mmdbinspect: init at 0.2.0
1 parent dc8a253 commit ee83760

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
}:
6+
7+
buildGoModule rec {
8+
pname = "mmdbinspect";
9+
version = "0.2.0";
10+
11+
src = fetchFromGitHub {
12+
owner = "maxmind";
13+
repo = "mmdbinspect";
14+
rev = "refs/tags/v${version}";
15+
hash = "sha256-PYn+NgJDZBP+9nIU0kxg9KYT0EV35omagspcsCpa9DM=";
16+
fetchSubmodules = true;
17+
};
18+
19+
vendorHash = "sha256-HNgofsfMsqXttnrNDIPgLHag+2hqQTREomcesWldpMo=";
20+
21+
ldflags = [
22+
"-s"
23+
"-w"
24+
];
25+
26+
meta = {
27+
description = "Look up records for one or more IPs/networks in one or more .mmdb databases";
28+
homepage = "https://github.com/maxmind/mmdbinspect";
29+
changelog = "https://github.com/maxmind/mmdbinspect/blob/${src.rev}/CHANGELOG.md";
30+
license = with lib.licenses; [
31+
asl20
32+
mit
33+
];
34+
maintainers = with lib.maintainers; [ moraxyc ];
35+
mainProgram = "mmdbinspect";
36+
};
37+
}

0 commit comments

Comments
 (0)