Skip to content

Commit

Permalink
mmdbinspect: init at 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Moraxyc committed Oct 28, 2024
1 parent dc8a253 commit ee83760
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/by-name/mm/mmdbinspect/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:

buildGoModule rec {
pname = "mmdbinspect";
version = "0.2.0";

src = fetchFromGitHub {
owner = "maxmind";
repo = "mmdbinspect";
rev = "refs/tags/v${version}";
hash = "sha256-PYn+NgJDZBP+9nIU0kxg9KYT0EV35omagspcsCpa9DM=";
fetchSubmodules = true;
};

vendorHash = "sha256-HNgofsfMsqXttnrNDIPgLHag+2hqQTREomcesWldpMo=";

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

meta = {
description = "Look up records for one or more IPs/networks in one or more .mmdb databases";
homepage = "https://github.com/maxmind/mmdbinspect";
changelog = "https://github.com/maxmind/mmdbinspect/blob/${src.rev}/CHANGELOG.md";
license = with lib.licenses; [
asl20
mit
];
maintainers = with lib.maintainers; [ moraxyc ];
mainProgram = "mmdbinspect";
};
}

0 comments on commit ee83760

Please sign in to comment.