2021-12-04 14:36:05 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
2019-06-15 17:02:14 +00:00
|
|
|
, curl, db, libgeotiff
|
2022-10-13 22:16:16 +00:00
|
|
|
, xorg, motif, pcre
|
2023-07-17 16:19:42 +00:00
|
|
|
, perl, proj, graphicsmagick, shapelib
|
2022-12-25 23:41:37 +00:00
|
|
|
, libax25
|
2017-03-17 17:08:23 +00:00
|
|
|
}:
|
|
|
|
|
2017-08-10 22:03:06 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-02-03 11:13:46 +00:00
|
|
|
pname = "xastir";
|
2023-10-24 00:55:12 +00:00
|
|
|
version = "2.2.0";
|
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}";
|
2023-10-24 00:55:12 +00:00
|
|
|
hash = "sha256-EQXSfH4b5vMiprFcMXCUDNl+R1cHSj9CyhZnUPAMoCw=";
|
2017-03-17 17:08:23 +00:00
|
|
|
};
|
|
|
|
|
2021-12-04 14:36:05 +00:00
|
|
|
nativeBuildInputs = [
|
2017-08-10 22:03:06 +00:00
|
|
|
autoreconfHook
|
2021-12-04 14:36:05 +00:00
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-06-15 17:02:14 +00:00
|
|
|
curl db libgeotiff
|
2022-10-13 22:16:16 +00:00
|
|
|
xorg.libXpm xorg.libXt motif pcre
|
2023-07-17 16:19:42 +00:00
|
|
|
perl proj graphicsmagick shapelib
|
2022-12-25 23:41:37 +00:00
|
|
|
libax25
|
2017-08-10 22:03:06 +00:00
|
|
|
];
|
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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-03-17 17:08:23 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|