3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/misc/h3/default.nix
2020-02-07 11:04:37 -08:00

31 lines
604 B
Nix

{ stdenv
, cmake
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "h3";
version = "3.6.3";
src = fetchFromGitHub {
owner = "uber";
repo = "h3";
rev = "v${version}";
sha256 = "1zgq496m2pk2c1l0r1di0p39nxwza00kxzqa971qd4xgbrvd4w55";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DENABLE_LINTING=OFF"
];
meta = with stdenv.lib; {
homepage = "https://github.com/uber/h3";
description = "Hexagonal hierarchical geospatial indexing system";
license = licenses.asl20;
maintainers = [ maintainers.kalbasit ];
};
}