depot/third_party/nixpkgs/pkgs/servers/sql/postgresql/ext/pgrouting.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

37 lines
841 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
postgresql,
perl,
cmake,
boost,
buildPostgresqlExtension,
}:
buildPostgresqlExtension rec {
pname = "pgrouting";
version = "3.7.3";
nativeBuildInputs = [
cmake
perl
];
buildInputs = [ boost ];
src = fetchFromGitHub {
owner = "pgRouting";
repo = "pgrouting";
rev = "v${version}";
hash = "sha256-jaevnDCJ6hRQeDhdAkvMTvnnFWElMNvo9gZRW53proQ=";
};
meta = with lib; {
description = "PostgreSQL/PostGIS extension that provides geospatial routing functionality";
homepage = "https://pgrouting.org/";
changelog = "https://github.com/pgRouting/pgrouting/releases/tag/v${version}";
maintainers = with maintainers; teams.geospatial.members ++ [ steve-chavez ];
platforms = postgresql.meta.platforms;
license = licenses.gpl2Plus;
};
}