2021-12-19 01:06:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, curl, db, libgeotiff
|
2022-10-21 18:38:19 +00:00
|
|
|
, xorg, motif, pcre
|
2023-08-04 22:07:22 +00:00
|
|
|
, perl, proj, graphicsmagick, shapelib
|
2022-12-28 21:21:41 +00:00
|
|
|
, libax25
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xastir";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "2.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "Release-${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-EQXSfH4b5vMiprFcMXCUDNl+R1cHSj9CyhZnUPAMoCw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
nativeBuildInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
autoreconfHook
|
2021-12-19 01:06:50 +00:00
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
curl db libgeotiff
|
2022-10-21 18:38:19 +00:00
|
|
|
xorg.libXpm xorg.libXt motif pcre
|
2023-08-04 22:07:22 +00:00
|
|
|
perl proj graphicsmagick shapelib
|
2022-12-28 21:21:41 +00:00
|
|
|
libax25
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|