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
59
pkgs/servers/geospatial/mapcache/default.nix
Normal file
59
pkgs/servers/geospatial/mapcache/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
||||
, apacheHttpd, apr, aprutil, curl, db, fcgi, gdal, geos
|
||||
, libgeotiff, libjpeg, libpng, libtiff, pcre, pixman, proj, sqlite, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mapcache";
|
||||
version = "1.12.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MapServer";
|
||||
repo = pname;
|
||||
rev = "rel-${lib.replaceStrings [ "." ] [ "-" ] version}";
|
||||
sha256 = "sha256-NuiZMWcmsN5wDCd37Hvj3cazwT3Ea+OknV/YR3urZB0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
apacheHttpd
|
||||
apr
|
||||
aprutil
|
||||
curl
|
||||
db
|
||||
fcgi
|
||||
gdal
|
||||
geos
|
||||
libgeotiff
|
||||
libjpeg
|
||||
libpng
|
||||
libtiff
|
||||
pcre
|
||||
pixman
|
||||
proj
|
||||
sqlite
|
||||
zlib
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DWITH_BERKELEY_DB=ON"
|
||||
"-DWITH_MEMCACHE=ON"
|
||||
"-DWITH_TIFF=ON"
|
||||
"-DWITH_GEOTIFF=ON"
|
||||
"-DWITH_PCRE=ON"
|
||||
"-DAPACHE_MODULE_DIR=${placeholder "out"}/modules"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A server that implements tile caching to speed up access to WMS layers";
|
||||
homepage = "https://mapserver.org/mapcache/";
|
||||
changelog = "https://www.mapserver.org/development/changelog/mapcache/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
60
pkgs/servers/geospatial/mapserver/default.nix
Normal file
60
pkgs/servers/geospatial/mapserver/default.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
||||
, cairo, curl, fcgi, freetype, fribidi, gdal, geos, giflib, harfbuzz
|
||||
, libjpeg, libpng, librsvg, libxml2, postgresql, proj, protobufc, zlib
|
||||
, withPython ? true, swig, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mapserver";
|
||||
version = "7.6.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MapServer";
|
||||
repo = "MapServer";
|
||||
rev = "rel-${lib.replaceStrings [ "." ] [ "-" ] version}";
|
||||
sha256 = "sha256-NMo/7CtWYIP1oPKki09oDWLCbj2vPk3xCU4rkHq8YKY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
] ++ lib.optional withPython [ swig python3.pkgs.setuptools ];
|
||||
|
||||
buildInputs = [
|
||||
cairo
|
||||
curl
|
||||
fcgi
|
||||
freetype
|
||||
fribidi
|
||||
gdal
|
||||
geos
|
||||
giflib
|
||||
harfbuzz
|
||||
libjpeg
|
||||
libpng
|
||||
librsvg
|
||||
libxml2
|
||||
postgresql
|
||||
proj
|
||||
protobufc
|
||||
zlib
|
||||
] ++ lib.optional withPython python3;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DWITH_KML=ON"
|
||||
"-DWITH_SOS=ON"
|
||||
"-DWITH_RSVG=ON"
|
||||
"-DWITH_CURL=ON"
|
||||
"-DWITH_CLIENT_WMS=ON"
|
||||
"-DWITH_CLIENT_WFS=ON"
|
||||
] ++ lib.optional withPython "-DWITH_PYTHON=ON";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Platform for publishing spatial data and interactive mapping applications to the web";
|
||||
homepage = "https://mapserver.org/";
|
||||
changelog = "https://mapserver.org/development/changelog/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
27
pkgs/servers/geospatial/martin/default.nix
Normal file
27
pkgs/servers/geospatial/martin/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "martin";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "urbica";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1i9zhmjkgid4s90n52wqmrl3lwswcaxd6d47ssycgjl1nv0jla4k";
|
||||
};
|
||||
|
||||
cargoSha256 = "1jgl8s6h4pqhn189swrhn896kw1rkmqpf7dq52ry2rdci80g02nq";
|
||||
|
||||
buildInputs = with stdenv; lib.optional isDarwin Security;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Blazing fast and lightweight PostGIS vector tiles server";
|
||||
homepage = "https://martin.urbica.co/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
24
pkgs/servers/geospatial/mbtileserver/default.nix
Normal file
24
pkgs/servers/geospatial/mbtileserver/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mbtileserver";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "consbio";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-aa0YsP+SYYDtaSstTfluEe0/+yDl82KHUSss8LZ2gOc=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-eVnL+28eOgbR0bjWv7XotcHDl5309EO0wV8AGMslvZw=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple Go-based server for map tiles stored in mbtiles format";
|
||||
homepage = "https://github.com/consbio/mbtileserver";
|
||||
changelog = "https://github.com/consbio/mbtileserver/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
25
pkgs/servers/geospatial/pg_featureserv/default.nix
Normal file
25
pkgs/servers/geospatial/pg_featureserv/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pg_featureserv";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CrunchyData";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0lfsbsgcb7z8ljxn1by37rbx02vaprrpacybk1kja1rjli7ik7m9";
|
||||
};
|
||||
|
||||
vendorSha256 = "1jqrkx850ghmpnfjhqky93r8fq7q63m5ivs0lzljzbvn7ya75f2r";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/CrunchyData/pg_featureserv/conf.setVersion=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight RESTful Geospatial Feature Server for PostGIS in Go";
|
||||
homepage = "https://github.com/CrunchyData/pg_featureserv";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
27
pkgs/servers/geospatial/pg_tileserv/default.nix
Normal file
27
pkgs/servers/geospatial/pg_tileserv/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pg_tileserv";
|
||||
version = "1.0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CrunchyData";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "07xj807cbggnh8k7d2i7h326p4wjb8sz5ng0hbdnznvyc4sb2cdw";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-qdlh9H039GwKTxOhx+dzyUHkzJbaOeuguKnBOyAPe/E=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.programVersion=${version}" ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A very thin PostGIS-only tile server in Go";
|
||||
homepage = "https://github.com/CrunchyData/pg_tileserv";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
29
pkgs/servers/geospatial/t-rex/default.nix
Normal file
29
pkgs/servers/geospatial/t-rex/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, gdal, openssl, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "t-rex";
|
||||
version = "0.14.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "t-rex-tileserver";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-LUVk5li2cl/LKbhKOh6Bbwav0GEuI/vUbDPLn7NSRIs=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-I4QmjTTKUp9iugEwzM0xCcNLvF5ozeBdYmbi8sytY88=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ gdal openssl ] ++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Vector tile server specialized on publishing MVT tiles";
|
||||
homepage = "https://t-rex.tileserver.ch/";
|
||||
changelog = "https://github.com/t-rex-tileserver/t-rex/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
mainProgram = "t_rex";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
27
pkgs/servers/geospatial/tegola/default.nix
Normal file
27
pkgs/servers/geospatial/tegola/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "tegola";
|
||||
version = "0.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "go-spatial";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-RSuTZHv3W2SVPAkydz5yB89Ioynp0DO0qaQKut5tokc=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
subPackages = [ "cmd/tegola" ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/go-spatial/tegola/internal/build.Version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.tegola.io/";
|
||||
description = "Mapbox Vector Tile server";
|
||||
maintainers = with maintainers; [ ingenieroariel ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
30
pkgs/servers/geospatial/tile38/default.nix
Normal file
30
pkgs/servers/geospatial/tile38/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "tile38";
|
||||
version = "1.28.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tidwall";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-Kac0iNqJFLLRR+Xu5GlxrsQqvim60uDlToe883++/7g=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-/7dDPUXutyzkWq6EVVINFKzhuaiBCv5GrAF5pWG3ikc=";
|
||||
|
||||
subPackages = [ "cmd/tile38-cli" "cmd/tile38-server" ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/tidwall/tile38/core.Version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Real-time Geospatial and Geofencing";
|
||||
longDescription = ''
|
||||
Tile38 is an in-memory geolocation data store, spatial index, and realtime geofence.
|
||||
It supports a variety of object types including lat/lon points, bounding boxes, XYZ tiles, Geohashes, and GeoJSON.
|
||||
'';
|
||||
homepage = "https://tile38.com/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue