Skip to content

Commit

Permalink
bbox-services: init at 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
imincik committed Aug 26, 2024
1 parent dacbc70 commit ba60b1c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions pkgs/by-name/bb/bbox-services/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
pkg-config,
protobuf,
darwin,
}:

rustPlatform.buildRustPackage rec {
pname = "bbox-services";
version = "0.6.1";

src = fetchFromGitHub {
owner = "bbox-services";
repo = "bbox";
rev = "v${version}";
hash = "sha256-NI6EL9UPqv1OtvEySGpk1jfHOykOvkTELkH+qR3dL3w=";
};

cargoHash = "sha256-ofby7fHgybRE4inx0n28glwqHcddKTo+hKN/JkmR22I=";

nativeBuildInputs = [
protobuf
pkg-config
rustPlatform.bindgenHook
];

buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;

meta = with lib; {
description = "Composable spatial services";
homepage = "https://www.bbox.earth/";
changelog = "https://github.com/bbox-services/bbox/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = teams.geospatial.members;
mainProgram = ""; # FIXME
platforms = platforms.unix;
};
}

0 comments on commit ba60b1c

Please sign in to comment.