diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/xastir/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/xastir/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/xastir/default.nix b/nixpkgs/pkgs/applications/misc/xastir/default.nix new file mode 100644 index 000000000000..987b676034f6 --- /dev/null +++ b/nixpkgs/pkgs/applications/misc/xastir/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchFromGitHub, autoreconfHook +, curl, db, libgeotiff +, libXpm, libXt, motif, pcre +, perl, proj, rastermagick, shapelib +}: + +stdenv.mkDerivation rec { + pname = "xastir"; + version = "2.1.2"; + + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = "Release-${version}"; + sha256 = "1xfzd2m4l0zbb96ak2pniffxdrs9lax0amkxfgdsnyg8x5j0xcxm"; + }; + + buildInputs = [ + autoreconfHook + curl db 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; + }; +} |