Files
nixpkgs/pkgs/by-name/li/librttopo/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
927 B
Nix

{
lib,
stdenv,
fetchFromGitea,
autoreconfHook,
validatePkgConfig,
geos,
}:
stdenv.mkDerivation rec {
pname = "librttopo";
version = "1.1.0";
outputs = [
"out"
"dev"
];
src = fetchFromGitea {
domain = "git.osgeo.org/gitea";
owner = "rttopo";
repo = "librttopo";
rev = "librttopo-${version}";
sha256 = "0h7lzlkn9g4xky6h81ndy0aa6dxz8wb6rnl8v3987jy1i6pr072p";
};
nativeBuildInputs = [
autoreconfHook
validatePkgConfig
];
buildInputs = [ geos ];
configureFlags = [
"--with-geosconfig=${lib.getExe' (lib.getDev geos) "geos-config"}"
];
enableParallelBuilding = true;
meta = with lib; {
description = "RT Topology Library";
homepage = "https://git.osgeo.org/gitea/rttopo/librttopo";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dotlambda ];
teams = [ teams.geospatial ];
platforms = platforms.unix;
};
}