1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-19 17:39:34 +00:00

xastir: fix build

This commit is contained in:
Robin Gloster 2017-08-11 00:03:06 +02:00
parent 84a9a80123
commit dec77a45fa
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -4,11 +4,9 @@
, perl, proj, rastermagick, shapelib , perl, proj, rastermagick, shapelib
}: }:
let stdenv.mkDerivation rec {
name = "xastir-${version}";
version = "208"; version = "208";
in
stdenv.mkDerivation {
name = "xastir-"+version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Xastir"; owner = "Xastir";
@ -17,15 +15,16 @@ stdenv.mkDerivation {
sha256 = "1mm22vn3hws7dmg9wpaj4s0zkzb77i3aqa2ay3q6kqjkdhv25brl"; sha256 = "1mm22vn3hws7dmg9wpaj4s0zkzb77i3aqa2ay3q6kqjkdhv25brl";
}; };
buildInputs = buildInputs = [
[ autoreconfHook autoreconfHook
curl db gdal libgeotiff curl db gdal libgeotiff
libXpm libXt motif pcre libXpm libXt motif pcre
perl proj rastermagick shapelib perl proj rastermagick shapelib
]; ];
configureFlags = configureFlags = [ "--with-motif-includes=${motif}/include" ];
[ "--with-motif-includes=${motif}/include" ];
postPatch = "patchShebangs .";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Graphical APRS client"; description = "Graphical APRS client";