2017-03-17 17:08:23 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook
|
2019-06-15 17:02:14 +00:00
|
|
|
, curl, db, libgeotiff
|
2017-03-17 17:08:23 +00:00
|
|
|
, libXpm, libXt, motif, pcre
|
|
|
|
, perl, proj, rastermagick, shapelib
|
|
|
|
}:
|
|
|
|
|
2017-08-10 22:03:06 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-02-03 11:13:46 +00:00
|
|
|
pname = "xastir";
|
2020-05-05 09:52:37 +00:00
|
|
|
version = "2.1.6";
|
2017-03-17 17:08:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-02-03 11:13:46 +00:00
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "Release-${version}";
|
2020-06-01 08:59:41 +00:00
|
|
|
sha256 = "0yrvwy6hlc73gzwrsrczflyymyz0k33hj991ajrd1vijq14m3n91";
|
2017-03-17 17:08:23 +00:00
|
|
|
};
|
|
|
|
|
2017-08-10 22:03:06 +00:00
|
|
|
buildInputs = [
|
|
|
|
autoreconfHook
|
2019-06-15 17:02:14 +00:00
|
|
|
curl db libgeotiff
|
2017-08-10 22:03:06 +00:00
|
|
|
libXpm libXt motif pcre
|
|
|
|
perl proj rastermagick shapelib
|
|
|
|
];
|
2017-03-17 17:08:23 +00:00
|
|
|
|
2017-08-10 22:03:06 +00:00
|
|
|
configureFlags = [ "--with-motif-includes=${motif}/include" ];
|
|
|
|
|
|
|
|
postPatch = "patchShebangs .";
|
2017-03-17 17:08:23 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Graphical APRS client";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://xastir.org";
|
2017-03-17 17:08:23 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|