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