ip2location-c: 7.0.2 -> 8.4.0
This commit is contained in:
parent
9e8fcb0184
commit
d883522703
1 changed files with 16 additions and 7 deletions
|
@ -1,15 +1,23 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ip2location-c";
|
||||
version = "7.0.2"; # meta.homepage might change after a major update
|
||||
version = "8.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
sha256 = "1gs43qgcyfn83abrkhvvw1s67d1sbkbj3hab9m17ysn6swafiycx";
|
||||
url = "https://www.ip2location.com/downloads/ip2location-c-${version}.tar.gz";
|
||||
src = fetchFromGitHub {
|
||||
owner = "chrislim2888";
|
||||
repo = "IP2Location-C-Library";
|
||||
rev = version;
|
||||
sha256 = "0rqjgmv62s7abiiqi3ff3ff838qx4pzr509irmzvqlflnkxxi0q6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -25,8 +33,9 @@ stdenv.mkDerivation rec {
|
|||
weather, MCC, MNC, mobile brand name, elevation and usage type of
|
||||
any IP address or host name in the IP2Location databases.
|
||||
'';
|
||||
homepage = "http://www.ip2location.com/developers/c-7";
|
||||
homepage = "https://www.ip2location.com/developers/c";
|
||||
license = with licenses; [ gpl3Plus lgpl3Plus ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue