2018-12-02 11:41:15 +00:00
|
|
|
{ cairo, fetchzip, glib, gnome3, gobject-introspection, pkgconfig, stdenv }:
|
2016-06-07 19:05:09 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "osm-gps-map-${version}";
|
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/nzjrs/osm-gps-map/releases/download/${version}/osm-gps-map-${version}.tar.gz";
|
|
|
|
sha256 = "0fal3mqcf3yypir4f7njz0dm5wr7lqwpimjx28wz9imh48cqx9n9";
|
|
|
|
};
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" "doc" ];
|
2016-06-07 19:05:09 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-12-02 11:41:15 +00:00
|
|
|
cairo glib gobject-introspection
|
2016-06-07 19:05:09 +01:00
|
|
|
] ++ (with gnome3; [
|
2018-02-25 02:23:58 +00:00
|
|
|
gnome-common gtk libsoup
|
2016-06-07 19:05:09 +01:00
|
|
|
]);
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Gtk+ widget for displaying OpenStreetMap tiles";
|
|
|
|
homepage = https://nzjrs.github.io/osm-gps-map;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ hrdinka ];
|
2018-08-01 10:04:45 +01:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-06-07 19:05:09 +01:00
|
|
|
};
|
|
|
|
}
|