2017-03-17 18:08:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook
|
2019-06-15 19:02:14 +02:00
|
|
|
, curl, db, libgeotiff
|
2017-03-17 18:08:23 +01:00
|
|
|
, libXpm, libXt, motif, pcre
|
|
|
|
, perl, proj, rastermagick, shapelib
|
|
|
|
}:
|
|
|
|
|
2017-08-11 00:03:06 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-02-03 12:13:46 +01:00
|
|
|
pname = "xastir";
|
2020-05-05 11:52:37 +02:00
|
|
|
version = "2.1.6";
|
2017-03-17 18:08:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-02-03 12:13:46 +01:00
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "Release-${version}";
|
2020-06-01 10:59:41 +02:00
|
|
|
sha256 = "0yrvwy6hlc73gzwrsrczflyymyz0k33hj991ajrd1vijq14m3n91";
|
2017-03-17 18:08:23 +01:00
|
|
|
};
|
|
|
|
|
2017-08-11 00:03:06 +02:00
|
|
|
buildInputs = [
|
|
|
|
autoreconfHook
|
2019-06-15 19:02:14 +02:00
|
|
|
curl db libgeotiff
|
2017-08-11 00:03:06 +02:00
|
|
|
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";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://xastir.org";
|
2017-03-17 18:08:23 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|