Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 19 lines 547 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "libmaxminddb-${version}"; 5 version = "1.3.2"; 6 7 src = fetchurl { 8 url = meta.homepage + "/releases/download/${version}/${name}.tar.gz"; 9 sha256 = "1w60yq26x3yr3abxk7fwqqaggw8dc98595jdliaa3kyqdfm83y76"; 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.apsl20; 16 platforms = platforms.all; 17 maintainers = [ maintainers.vcunat ]; 18 }; 19}