diff options
-rw-r--r-- | pkgs/applications/misc/gpscorrelate/default.nix | 45 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 14 |
2 files changed, 55 insertions, 4 deletions
diff --git a/pkgs/applications/misc/gpscorrelate/default.nix b/pkgs/applications/misc/gpscorrelate/default.nix new file mode 100644 index 00000000000..141476a6b40 --- /dev/null +++ b/pkgs/applications/misc/gpscorrelate/default.nix @@ -0,0 +1,45 @@ +{ fetchurl, stdenv, pkgconfig, exiv2, libxml2, gtk +, libxslt, docbook_xsl, docbook_xml_dtd_42 }: + +stdenv.mkDerivation rec { + name = "gpscorrelate-1.6.0"; + + src = fetchurl { + url = "http://freefoote.dview.net/linux/${name}.tar.gz"; + sha256 = "1j0b244xkvvf0i4iivp4dw9k4xgyasx4sapd91mnwki35fy49sp0"; + }; + + buildInputs = [ + pkgconfig exiv2 libxml2 gtk + libxslt docbook_xsl docbook_xml_dtd_42 + ]; + + patchPhase = '' + sed -i "Makefile" \ + -es",^[[:blank:]]*prefix[[:blank:]]*=.*$,prefix = $out,g" + ''; + + meta = { + description = "A GPS photo correlation tool, to add EXIF geotags"; + + longDescription = '' + Digital cameras are cool. So is GPS. And, EXIF tags are really + cool too. + + What happens when you merge the three? You end up with a set of + photos taken with a digital camera that are "stamped" with the + location at which they were taken. + + The EXIF standard defines a number of tags that are for use with GPS. + + A variety of programs exist around the place to match GPS data + with digital camera photos, but most of them are Windows or + MacOS only. Which doesn't really suit me that much. Also, each + one takes the GPS data in a different format. + ''; + + license = "GPLv2+"; + + homepage = http://freefoote.dview.net/linux_gpscorr.html; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eb66a57f0a9..72c136ff40d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -762,10 +762,6 @@ let inherit fetchurl stdenv; }); - gpsbabel = import ../applications/misc/gpsbabel { - inherit fetchurl stdenv zlib expat; - }; - graphviz = import ../tools/graphics/graphviz { inherit fetchurl stdenv pkgconfig libpng libjpeg expat x11 yacc libtool fontconfig gd; @@ -6328,6 +6324,16 @@ let libXcursor libXinerama libXext libX11 ; }; + gpsbabel = import ../applications/misc/gpsbabel { + inherit fetchurl stdenv zlib expat; + }; + + gpscorrelate = import ../applications/misc/gpscorrelate { + inherit fetchurl stdenv pkgconfig exiv2 libxml2 + libxslt docbook_xsl docbook_xml_dtd_42; + inherit (gtkLibs) gtk; + }; + gpsd = import ../servers/gpsd { inherit fetchurl stdenv pkgconfig dbus dbus_glib ncurses makeWrapper libxslt xmlto; |