2017-03-17 18:08:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook
|
|
|
|
, curl, db, gdal, libgeotiff
|
|
|
|
, libXpm, libXt, motif, pcre
|
|
|
|
, perl, proj, rastermagick, shapelib
|
|
|
|
}:
|
|
|
|
|
2017-08-11 00:03:06 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xastir-${version}";
|
2017-03-17 18:08:23 +01:00
|
|
|
version = "208";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Xastir";
|
|
|
|
repo = "Xastir";
|
|
|
|
rev = "707f3aa8c7ca3e3fecd32d5a4af3f742437e5dce";
|
|
|
|
sha256 = "1mm22vn3hws7dmg9wpaj4s0zkzb77i3aqa2ay3q6kqjkdhv25brl";
|
|
|
|
};
|
|
|
|
|
2017-08-11 00:03:06 +02:00
|
|
|
buildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
curl db gdal libgeotiff
|
|
|
|
libXpm libXt motif pcre
|
|
|
|
perl proj rastermagick shapelib
|
|
|
|
];
|
2017-03-17 18:08:23 +01:00
|
|
|
|
2017-08-11 00:03:06 +02:00
|
|
|
configureFlags = [ "--with-motif-includes=${motif}/include" ];
|
|
|
|
|
|
|
|
postPatch = "patchShebangs .";
|
2017-03-17 18:08:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Graphical APRS client";
|
|
|
|
homepage = https://xastir.org;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|