2017-03-23 02:25:03 +00:00
|
|
|
{ fetchFromGitHub, stdenv, pkgconfig, exiv2, libxml2, gtk2
|
2009-06-01 22:43:36 +00:00
|
|
|
, libxslt, docbook_xsl, docbook_xml_dtd_42 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-23 02:25:03 +00:00
|
|
|
name = "gpscorrelate-${version}";
|
|
|
|
version = "1.6.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "freefoote";
|
|
|
|
repo = "gpscorrelate";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1z0fc75rx7dl6nnydksa578qv116j2c2xs1czfiijzxjghx8njdj";
|
2009-06-01 22:43:36 +00:00
|
|
|
};
|
|
|
|
|
2017-03-23 02:25:03 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2009-06-01 22:43:36 +00:00
|
|
|
buildInputs = [
|
2017-03-23 02:25:03 +00:00
|
|
|
exiv2 libxml2 gtk2
|
|
|
|
libxslt docbook_xsl
|
|
|
|
docbook_xml_dtd_42
|
2009-06-01 22:43:36 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i "Makefile" \
|
|
|
|
-es",^[[:blank:]]*prefix[[:blank:]]*=.*$,prefix = $out,g"
|
|
|
|
'';
|
|
|
|
|
2017-03-23 02:25:03 +00:00
|
|
|
meta = with stdenv.lib; {
|
2009-06-01 22:43:36 +00:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2017-03-23 02:25:03 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
homepage = https://github.com/freefoote/gpscorrelate;
|
|
|
|
platforms = platforms.linux;
|
2009-06-01 22:43:36 +00:00
|
|
|
};
|
|
|
|
}
|