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

37 lines
832 B
Nix
Raw Normal View History

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