File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
pkgs/by-name/mm/mmdbinspect Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments