Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
871 B
Nix
38 lines
871 B
Nix
{
|
|
boost,
|
|
cmake,
|
|
fetchFromGitHub,
|
|
lib,
|
|
perl,
|
|
postgresql,
|
|
postgresqlBuildExtension,
|
|
}:
|
|
|
|
postgresqlBuildExtension (finalAttrs: {
|
|
pname = "pgrouting";
|
|
version = "3.8.0";
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
perl
|
|
];
|
|
buildInputs = [ boost ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pgRouting";
|
|
repo = "pgrouting";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-Lvf7TQ3GywbzZmcd9wi3s8I5sCXIQAPeXNTRk/J46to=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
})
|