2019-06-27 05:32:52 +00:00
|
|
|
{ fetchFromGitHub, stdenv, fetchpatch, pkgconfig, exiv2, libxml2, gtk3
|
|
|
|
, libxslt, docbook_xsl, docbook_xml_dtd_42, desktop-file-utils }:
|
2009-06-01 22:43:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-06-27 05:32:52 +00:00
|
|
|
pname = "gpscorrelate";
|
2019-10-29 16:21:11 +00:00
|
|
|
version = "2.0";
|
2017-03-23 02:25:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-06-27 05:32:52 +00:00
|
|
|
owner = "dfandrich";
|
|
|
|
repo = pname;
|
2019-10-29 16:21:11 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1wkpb0nqnm0ik46hp2sibf96h2gxi6n951zm8c72scgmh4ciq4fl";
|
2009-06-01 22:43:36 +00:00
|
|
|
};
|
|
|
|
|
2019-06-27 05:32:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
2017-03-23 02:25:03 +00:00
|
|
|
docbook_xml_dtd_42
|
2019-06-27 05:32:52 +00:00
|
|
|
docbook_xsl
|
|
|
|
libxslt
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
exiv2
|
|
|
|
gtk3
|
|
|
|
libxml2
|
2009-06-01 22:43:36 +00:00
|
|
|
];
|
|
|
|
|
2019-06-27 05:32:52 +00:00
|
|
|
makeFlags = [
|
2019-09-03 16:38:57 +00:00
|
|
|
"prefix=${placeholder "out"}"
|
2019-06-27 05:32:52 +00:00
|
|
|
"CC=cc"
|
|
|
|
"CXX=c++"
|
2019-09-08 21:57:57 +00:00
|
|
|
"CFLAGS=-DENABLE_NLS"
|
2019-06-27 05:32:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2019-09-08 21:57:57 +00:00
|
|
|
installTargets = [ "install" "install-po" "install-desktop-file" ];
|
2009-06-01 22:43:36 +00:00
|
|
|
|
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;
|
2019-10-29 16:21:11 +00:00
|
|
|
homepage = "https://dfandrich.github.io/gpscorrelate/";
|
2017-03-23 02:25:03 +00:00
|
|
|
platforms = platforms.linux;
|
2019-09-08 21:57:57 +00:00
|
|
|
maintainers = with maintainers; [ sikmir ];
|
2009-06-01 22:43:36 +00:00
|
|
|
};
|
|
|
|
}
|