forked from mirrors/nixpkgs
2307ac9fe2
Version 2.1.2 is compatible with recent versions of proj
37 lines
821 B
Nix
37 lines
821 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook
|
|
, curl, db, libgeotiff
|
|
, libXpm, libXt, motif, pcre
|
|
, perl, proj, rastermagick, shapelib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xastir";
|
|
version = "2.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "Release-${version}";
|
|
sha256 = "1xfzd2m4l0zbb96ak2pniffxdrs9lax0amkxfgdsnyg8x5j0xcxm";
|
|
};
|
|
|
|
buildInputs = [
|
|
autoreconfHook
|
|
curl db libgeotiff
|
|
libXpm libXt motif pcre
|
|
perl proj rastermagick shapelib
|
|
];
|
|
|
|
configureFlags = [ "--with-motif-includes=${motif}/include" ];
|
|
|
|
postPatch = "patchShebangs .";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Graphical APRS client";
|
|
homepage = https://xastir.org;
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.ehmry ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|