summary refs log tree commit diff
path: root/pkgs/applications/misc/xastir/default.nix
blob: c677f7371fcaf75e846b76fec46afe81be84bfef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ stdenv, fetchFromGitHub, autoreconfHook
, curl, db, gdal, libgeotiff
, libXpm, libXt, motif, pcre
, perl, proj, rastermagick, shapelib
}:

stdenv.mkDerivation rec {
  name = "xastir-${version}";
  version = "208";

  src = fetchFromGitHub {
    owner = "Xastir";
    repo = "Xastir";
    rev = "707f3aa8c7ca3e3fecd32d5a4af3f742437e5dce";
    sha256 = "1mm22vn3hws7dmg9wpaj4s0zkzb77i3aqa2ay3q6kqjkdhv25brl";
  };

  buildInputs = [
    autoreconfHook
    curl db gdal 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;
  };
}