Skip to content

Commit

Permalink
mmdbinspect: init at 0.2.0 (#351948)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Oct 30, 2024
2 parents 25b6428 + ee83760 commit 3db5e3d
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 3db5e3d

Please sign in to comment.