mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01: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.
43 lines
1.4 KiB
Nix
43 lines
1.4 KiB
Nix
{ fetchurl, stdenv, pkgconfig, gettext, gtk, gconf
|
|
, curl, libexif, sqlite, libxml2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "tangogps-0.99.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.tangogps.org/downloads/${name}.tar.gz";
|
|
sha256 = "15q2kkrv4mfsivfdzjgpxr7s2amw7d501q2ayjl3ff4vmvfn5516";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig gettext gtk gconf curl libexif sqlite libxml2 ];
|
|
|
|
# bogus includes fail with newer library version
|
|
postPatch = ''
|
|
sed -i -e 's,#include <glib/.*>,#include <glib.h>,g' src/*.c
|
|
sed -i -e 's,#include <curl/.*>,#include <curl/curl.h>,g' src/*.c src/*.h
|
|
'';
|
|
|
|
meta = {
|
|
description = "User friendly map and GPS user interface";
|
|
|
|
longDescription = ''
|
|
tangoGPS is an easy to use, fast and lightweight mapping
|
|
application for use with or without GPS.
|
|
|
|
It runs on any Linux platform from the desktop over eeePC down
|
|
to phones like the Openmoko Neo.
|
|
|
|
By default tangoGPS uses map data from the OpenStreetMap
|
|
project. Additionally a variety of other repositories can be
|
|
easily added.
|
|
|
|
The maps are automagically downloaded and cached for offline use
|
|
while you drag or zoom the map. Furthermore you can
|
|
conveniently pre-cache areas with tangoGPS.
|
|
'';
|
|
|
|
#homepage = http://www.tangogps.org/; # no longer valid, I couldn't find any other
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
};
|
|
}
|