forked from mirrors/nixpkgs
e92cee7d46
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/391jqg25m136cs0fv99xixc5dfn4941a-libmaxminddb-1.3.2/bin/mmdblookup -h` got 0 exit code - ran `/nix/store/391jqg25m136cs0fv99xixc5dfn4941a-libmaxminddb-1.3.2/bin/mmdblookup --help` got 0 exit code - ran `/nix/store/391jqg25m136cs0fv99xixc5dfn4941a-libmaxminddb-1.3.2/bin/mmdblookup -V` and found version 1.3.2 - ran `/nix/store/391jqg25m136cs0fv99xixc5dfn4941a-libmaxminddb-1.3.2/bin/mmdblookup --version` and found version 1.3.2 - found 1.3.2 with grep in /nix/store/391jqg25m136cs0fv99xixc5dfn4941a-libmaxminddb-1.3.2 - found 1.3.2 in filename of file in /nix/store/391jqg25m136cs0fv99xixc5dfn4941a-libmaxminddb-1.3.2 cc "@vcunat"
20 lines
547 B
Nix
20 lines
547 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libmaxminddb-${version}";
|
|
version = "1.3.2";
|
|
|
|
src = fetchurl {
|
|
url = meta.homepage + "/releases/download/${version}/${name}.tar.gz";
|
|
sha256 = "1w60yq26x3yr3abxk7fwqqaggw8dc98595jdliaa3kyqdfm83y76";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C library for working with MaxMind geolocation DB files";
|
|
homepage = https://github.com/maxmind/libmaxminddb;
|
|
license = licenses.apsl20;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.vcunat ];
|
|
};
|
|
}
|