a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
30 lines
602 B
Nix
30 lines
602 B
Nix
{ lib, stdenv
|
|
, cmake
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "h3";
|
|
version = "3.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "uber";
|
|
repo = "h3";
|
|
rev = "v${version}";
|
|
sha256 = "1ccyzbvbacf0bl9av4yp15zmhiqr3679nnbab11yrhxm9csyal16";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
cmakeFlags = [
|
|
"-DBUILD_SHARED_LIBS=ON"
|
|
"-DENABLE_LINTING=OFF"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/uber/h3";
|
|
description = "Hexagonal hierarchical geospatial indexing system";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.kalbasit ];
|
|
};
|
|
}
|