depot/third_party/nixpkgs/pkgs/development/libraries/librttopo/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

40 lines
832 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
geos # for geos-config
];
buildInputs = [ geos ];
enableParallelBuilding = true;
meta = with lib; {
description = "RT Topology Library";
homepage = "https://git.osgeo.org/gitea/rttopo/librttopo";
license = licenses.gpl2Plus;
maintainers = with maintainers; teams.geospatial.members ++ [ dotlambda ];
platforms = platforms.unix;
};
}