nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 967 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation (finalAttrs: { 8 pname = "ip2location"; 9 version = "7.0.0"; 10 11 src = fetchurl { 12 sha256 = "05zbc02z7vm19byafi05i1rnkxc6yrfkhnm30ly68zzyipkmzx1l"; 13 url = "https://www.ip2location.com/downloads/ip2location-${finalAttrs.version}.tar.gz"; 14 }; 15 16 enableParallelBuilding = true; 17 18 doCheck = true; 19 20 meta = { 21 description = "Look up locations of host names and IP addresses"; 22 longDescription = '' 23 A command-line tool to find the country, region, city,coordinates, 24 zip code, time zone, ISP, domain name, connection type, area code, 25 weather, MCC, MNC, mobile brand name, elevation and usage type of 26 any IP address or host name in the IP2Location databases. 27 ''; 28 homepage = "https://www.ip2location.com/free/applications"; 29 license = with lib.licenses; [ 30 gpl3Plus 31 lgpl3Plus 32 ]; 33 platforms = lib.platforms.linux; 34 mainProgram = "ip2location"; 35 }; 36})