2019-06-27 07:32:52 +02:00
|
|
|
{ fetchFromGitHub, stdenv, fetchpatch, pkgconfig, exiv2, libxml2, gtk3
|
|
|
|
, libxslt, docbook_xsl, docbook_xml_dtd_42, desktop-file-utils }:
|
2009-06-02 00:43:36 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-06-27 07:32:52 +02:00
|
|
|
pname = "gpscorrelate";
|
|
|
|
version = "unstable-2019-06-05";
|
2017-03-23 03:25:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-06-27 07:32:52 +02:00
|
|
|
owner = "dfandrich";
|
|
|
|
repo = pname;
|
|
|
|
rev = "80b14fe7c10c1cc8f62c13f517c062577ce88c85";
|
|
|
|
sha256 = "1gaan0nd7ai0bwilfnkza7lg5mz87804mvlygj0gjc672izr37r6";
|
2009-06-02 00:43:36 +02:00
|
|
|
};
|
|
|
|
|
2019-06-27 07:32:52 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
2017-03-23 03:25:03 +01:00
|
|
|
docbook_xml_dtd_42
|
2019-06-27 07:32:52 +02:00
|
|
|
docbook_xsl
|
|
|
|
libxslt
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
exiv2
|
|
|
|
gtk3
|
|
|
|
libxml2
|
2009-06-02 00:43:36 +02:00
|
|
|
];
|
|
|
|
|
2019-06-27 07:32:52 +02:00
|
|
|
makeFlags = [
|
|
|
|
"prefix=${placeholder ''out''}"
|
|
|
|
"GTK=3"
|
|
|
|
"CC=cc"
|
|
|
|
"CXX=c++"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
installTargets = [ "install" "install-desktop-file" ];
|
2009-06-02 00:43:36 +02:00
|
|
|
|
2017-03-23 03:25:03 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-06-02 00:43:36 +02: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 03:25:03 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2019-06-27 07:32:52 +02:00
|
|
|
homepage = "https://github.com/dfandrich/gpscorrelate";
|
2017-03-23 03:25:03 +01:00
|
|
|
platforms = platforms.linux;
|
2009-06-02 00:43:36 +02:00
|
|
|
};
|
|
|
|
}
|