librttopo: fix cross-compilation

This commit is contained in:
Nikolay Korotkiy 2022-09-17 22:11:00 +03:00
parent 1aec1e3b4e
commit 988e5793e6
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -2,6 +2,7 @@
, stdenv , stdenv
, fetchFromGitea , fetchFromGitea
, autoreconfHook , autoreconfHook
, validatePkgConfig
, geos , geos
}: }:
@ -19,14 +20,21 @@ stdenv.mkDerivation rec {
sha256 = "0h7lzlkn9g4xky6h81ndy0aa6dxz8wb6rnl8v3987jy1i6pr072p"; sha256 = "0h7lzlkn9g4xky6h81ndy0aa6dxz8wb6rnl8v3987jy1i6pr072p";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [
autoreconfHook
validatePkgConfig
geos # for geos-config
];
buildInputs = [ geos ]; buildInputs = [ geos ];
enableParallelBuilding = true;
meta = with lib; { meta = with lib; {
description = "RT Topology Library"; description = "RT Topology Library";
homepage = "https://git.osgeo.org/gitea/rttopo/librttopo"; homepage = "https://git.osgeo.org/gitea/rttopo/librttopo";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ dotlambda ]; maintainers = with maintainers; [ dotlambda ];
platforms = platforms.unix;
}; };
} }