1
e11sync/pkgs/geoip-mmdb.nix

13 lines
231 B
Nix
Raw Permalink Normal View History

{
2024-02-09 13:40:24 +02:00
stdenvNoCC,
geoip2-tarball,
}:
2024-02-09 13:40:24 +02:00
stdenvNoCC.mkDerivation {
name = "geoip-mmdb";
srcs = [geoip2-tarball];
installPhase = ''
mkdir -p $out
cp GeoLite2-ASN.mmdb GeoLite2-City.mmdb GeoLite2-Country.mmdb $out/
'';
}