nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09 19 lines 550 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "libmaxminddb"; 5 version = "1.4.3"; 6 7 src = fetchurl { 8 url = meta.homepage + "/releases/download/${version}/${pname}-${version}.tar.gz"; 9 sha256 = "0fd4a4sxiiwzbd5h74wl1ijnb7xybjyybb7q41vdq3w8nk3zdzd5"; 10 }; 11 12 meta = with stdenv.lib; { 13 description = "C library for working with MaxMind geolocation DB files"; 14 homepage = "https://github.com/maxmind/libmaxminddb"; 15 license = licenses.asl20; 16 platforms = platforms.all; 17 maintainers = [ maintainers.vcunat ]; 18 }; 19}