7 stdenv.mkDerivation rec {
8 pname = "ip2location-c";
11 src = fetchFromGitHub {
12 owner = "chrislim2888";
13 repo = "IP2Location-C-Library";
15 sha256 = "sha256-3/cLoGV7go4S1ew73IJzJEMTlLnvM3adl+/Sb7mPrZY=";
22 enableParallelBuilding = true;
24 # Checks require a database, which require registration (although sample
25 # databases are available, downloading them for just 1 test seems excessive):
29 description = "Library to look up locations of host names and IP addresses";
31 A C library to find the country, region, city,coordinates,
32 zip code, time zone, ISP, domain name, connection type, area code,
33 weather, MCC, MNC, mobile brand name, elevation and usage type of
34 any IP address or host name in the IP2Location databases.
36 homepage = "https://www.ip2location.com/developers/c";
37 license = with licenses; [ gpl3Plus lgpl3Plus ];
38 maintainers = with maintainers; [ ];
39 platforms = platforms.linux;