mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
c9baba9212
(My OCD kicked in today...) Remove repeated package names, capitalize first word, remove trailing periods and move overlong descriptions to longDescription. I also simplified some descriptions as well, when they were particularly long or technical, often based on Arch Linux' package descriptions. I've tried to stay away from generated expressions (and I think I succeeded). Some specifics worth mentioning: * cron, has "Vixie Cron" in its description. The "Vixie" part is not mentioned anywhere else. I kept it in a parenthesis at the end of the description. * ctags description started with "Exuberant Ctags ...", and the "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis at the end of description. * nix has the description "The Nix Deployment System". Since that doesn't really say much what it is/does (especially after removing the package name!), I changed that to "Powerful package manager that makes package management reliable and reproducible" (borrowed from nixos.org). * Tons of "GNU Foo, Foo is a [the important bits]" descriptions is changed to just [the important bits]. If the package name doesn't contain GNU I don't think it's needed to say it in the description either.
59 lines
1.9 KiB
Nix
59 lines
1.9 KiB
Nix
{ fetchurl, stdenv, zlib, expat, which }:
|
|
|
|
let version = "1.4.3"; in
|
|
stdenv.mkDerivation {
|
|
name = "gpsbabel-${version}";
|
|
|
|
src = fetchurl {
|
|
# gpgbabel.org makes it hard to get the source tarball automatically, so
|
|
# get it from elsewhere.
|
|
url = "mirror://debian/pool/main/g/gpsbabel/gpsbabel_${version}.orig.tar.gz";
|
|
sha256 = "1s31xa36ivf836h89m1f3qiaz3c3znvqjdm0bnh8vr2jjlrz9jdi";
|
|
};
|
|
|
|
# FIXME: Would need libxml2 for one of the tests, but that in turns require
|
|
# network access for the XML schemas.
|
|
buildInputs = [ zlib expat which ];
|
|
|
|
/* FIXME: Building the documentation, with "make doc", requires this:
|
|
|
|
[ libxml2 libxslt perl docbook_xml_dtd_412 docbook_xsl fop ]
|
|
|
|
But FOP isn't packaged yet. */
|
|
|
|
preConfigure = "cd gpsbabel";
|
|
configureFlags = [ "--with-zlib=system" ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Convert, upload and download data from GPS and Map programs";
|
|
|
|
longDescription = ''
|
|
GPSBabel converts waypoints, tracks, and routes between popular
|
|
GPS receivers and mapping programs. It also has powerful
|
|
manipulation tools for such data.
|
|
|
|
By flattening the Tower of Babel that the authors of various
|
|
programs for manipulating GPS data have imposed upon us, it
|
|
returns to us the ability to freely move our own waypoint data
|
|
between the programs and hardware we choose to use.
|
|
|
|
It contains extensive data manipulation abilities making it a
|
|
convenient for server-side processing or as the backend for
|
|
other tools.
|
|
|
|
It does not convert, transfer, send, or manipulate maps. We
|
|
process data that may (or may not be) placed on a map, such as
|
|
waypoints, tracks, and routes.
|
|
'';
|
|
|
|
homepage = http://www.gpsbabel.org/;
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
|
};
|
|
}
|