1{
2 boost,
3 cmake,
4 fetchFromGitHub,
5 lib,
6 perl,
7 postgresql,
8 postgresqlBuildExtension,
9}:
10
11postgresqlBuildExtension (finalAttrs: {
12 pname = "pgrouting";
13 version = "3.8.0";
14
15 nativeBuildInputs = [
16 cmake
17 perl
18 ];
19 buildInputs = [ boost ];
20
21 src = fetchFromGitHub {
22 owner = "pgRouting";
23 repo = "pgrouting";
24 tag = "v${finalAttrs.version}";
25 hash = "sha256-Lvf7TQ3GywbzZmcd9wi3s8I5sCXIQAPeXNTRk/J46to=";
26 };
27
28 meta = {
29 description = "PostgreSQL/PostGIS extension that provides geospatial routing functionality";
30 homepage = "https://pgrouting.org/";
31 changelog = "https://github.com/pgRouting/pgrouting/releases/tag/v${finalAttrs.version}";
32 maintainers = with lib.maintainers; [ steve-chavez ];
33 teams = [ lib.teams.geospatial ];
34 platforms = postgresql.meta.platforms;
35 license = lib.licenses.gpl2Plus;
36 };
37})