nixpkgs/pkgs/applications/misc/xastir/default.nix
Vincent Laporte 2307ac9fe2 xastir: 2.1.0 -> 2.1.2
Version 2.1.2 is compatible with recent versions of proj
2019-06-24 06:12:10 +00:00

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;
};
}