routino: fix on darwin (#121959)

This commit is contained in:
Nikolay Korotkiy 2021-05-07 13:45:29 +03:00 committed by GitHub
parent dfcfe50920
commit edb9e32ff1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
})
];
postPatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace Makefile.conf \
--subst-var-by PREFIX $out
'';
nativeBuildInputs = [ perl ];
buildInputs = [ zlib bzip2 ];
@ -34,7 +39,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "http://www.routino.org/";
description = "OpenStreetMap Routing Software";
license = licenses.agpl3;
license = licenses.agpl3Plus;
maintainers = with maintainers; [ dotlambda ];
platforms = with platforms; linux ++ darwin;
};