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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
875 B
Nix
Raw Normal View History

2021-12-04 14:36:05 +00:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
, curl, db, libgeotiff
2017-03-17 17:08:23 +00:00
, libXpm, libXt, motif, pcre
, perl, proj, rastermagick, shapelib
}:
2017-08-10 22:03:06 +00:00
stdenv.mkDerivation rec {
2019-02-03 11:13:46 +00:00
pname = "xastir";
2021-12-04 14:36:05 +00:00
version = "2.1.8";
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}";
2021-12-04 14:36:05 +00:00
hash = "sha256-hRe0KO1lWOv3hNNDMS70t+X1rxuhNlNKykmo4LEU+U0=";
2017-03-17 17:08:23 +00:00
};
2021-12-04 14:36:05 +00:00
nativeBuildInputs = [
2017-08-10 22:03:06 +00:00
autoreconfHook
2021-12-04 14:36:05 +00:00
pkg-config
];
buildInputs = [
curl db libgeotiff
2017-08-10 22:03:06 +00:00
libXpm libXt motif pcre
perl proj rastermagick shapelib
];
2017-03-17 17:08:23 +00:00
2017-08-10 22:03:06 +00:00
configureFlags = [ "--with-motif-includes=${motif}/include" ];
postPatch = "patchShebangs .";
2017-03-17 17:08:23 +00:00
meta = with lib; {
2017-03-17 17:08:23 +00:00
description = "Graphical APRS client";
homepage = "https://xastir.org";
2017-03-17 17:08:23 +00:00
license = licenses.gpl2;
maintainers = [ maintainers.ehmry ];
platforms = platforms.linux;
};
}