uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
41
pkgs/development/libraries/ip2location-c/default.nix
Normal file
41
pkgs/development/libraries/ip2location-c/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ip2location-c";
|
||||
version = "8.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chrislim2888";
|
||||
repo = "IP2Location-C-Library";
|
||||
rev = version;
|
||||
sha256 = "sha256-a2ekDi8+08Mm/OsWZbahcpFMPNqmv+cECAONQLynhSY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Checks require a database, which require registration (although sample
|
||||
# databases are available, downloading them for just 1 test seems excessive):
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to look up locations of host names and IP addresses";
|
||||
longDescription = ''
|
||||
A C library to find the country, region, city,coordinates,
|
||||
zip code, time zone, ISP, domain name, connection type, area code,
|
||||
weather, MCC, MNC, mobile brand name, elevation and usage type of
|
||||
any IP address or host name in the IP2Location databases.
|
||||
'';
|
||||
homepage = "https://www.ip2location.com/developers/c";
|
||||
license = with licenses; [ gpl3Plus lgpl3Plus ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue