nixpkgs/pkgs/development/libraries/libmaxminddb/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
579 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2016-09-14 17:15:19 +00:00
stdenv.mkDerivation rec {
pname = "libmaxminddb";
2022-10-01 22:57:01 +00:00
version = "1.7.1";
2016-09-14 17:15:19 +00:00
src = fetchurl {
url = meta.homepage + "/releases/download/${version}/${pname}-${version}.tar.gz";
2022-10-01 22:57:01 +00:00
sha256 = "sha256-6EFPDe3Oy8H2wxy2XNgWUJUqsGd6TYxJyrYDs7j7CD4=";
2016-09-14 17:15:19 +00:00
};
meta = with lib; {
2016-09-14 17:15:19 +00:00
description = "C library for working with MaxMind geolocation DB files";
homepage = "https://github.com/maxmind/libmaxminddb";
license = licenses.asl20;
maintainers = [ maintainers.ajs124 ];
mainProgram = "mmdblookup";
platforms = platforms.all;
2016-09-14 17:15:19 +00:00
};
}