2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, curl, db, libgeotiff
|
|
|
|
, libXpm, libXt, motif, pcre
|
|
|
|
, perl, proj, rastermagick, shapelib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xastir";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "2.1.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "Release-${version}";
|
2020-06-02 18:00:15 +00:00
|
|
|
sha256 = "0yrvwy6hlc73gzwrsrczflyymyz0k33hj991ajrd1vijq14m3n91";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
curl db libgeotiff
|
|
|
|
libXpm libXt motif pcre
|
|
|
|
perl proj rastermagick shapelib
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--with-motif-includes=${motif}/include" ];
|
|
|
|
|
|
|
|
postPatch = "patchShebangs .";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Graphical APRS client";
|
|
|
|
homepage = "https://xastir.org";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|