nixpkgs/pkgs/applications/misc/xastir/default.nix

37 lines
821 B
Nix
Raw Normal View History

2017-03-17 20:08:23 +03:00
{ stdenv, fetchFromGitHub, autoreconfHook
, curl, db, libgeotiff
2017-03-17 20:08:23 +03:00
, libXpm, libXt, motif, pcre
, perl, proj, rastermagick, shapelib
}:
2017-08-11 01:03:06 +03:00
stdenv.mkDerivation rec {
2019-02-03 14:13:46 +03:00
pname = "xastir";
version = "2.1.4";
2017-03-17 20:08:23 +03:00
src = fetchFromGitHub {
2019-02-03 14:13:46 +03:00
owner = pname;
repo = pname;
rev = "Release-${version}";
sha256 = "14f908jy5jzvgm1h1sr47hjqjq3q2nq91byhimk84kj044fn21w9";
2017-03-17 20:08:23 +03:00
};
2017-08-11 01:03:06 +03:00
buildInputs = [
autoreconfHook
curl db libgeotiff
2017-08-11 01:03:06 +03:00
libXpm libXt motif pcre
perl proj rastermagick shapelib
];
2017-03-17 20:08:23 +03:00
2017-08-11 01:03:06 +03:00
configureFlags = [ "--with-motif-includes=${motif}/include" ];
postPatch = "patchShebangs .";
2017-03-17 20:08:23 +03:00
meta = with stdenv.lib; {
description = "Graphical APRS client";
homepage = https://xastir.org;
license = licenses.gpl2;
maintainers = [ maintainers.ehmry ];
platforms = platforms.linux;
};
}