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

37 lines
821 B
Nix
Raw Normal View History

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