2021-05-07 21:18:14 +00:00
|
|
|
{ cairo, fetchzip, glib, gnome, gtk3, gobject-introspection, pkg-config, lib, stdenv }:
|
2016-06-07 18:05:09 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "osm-gps-map";
|
2021-02-09 14:10:50 +00:00
|
|
|
version = "1.2.0";
|
2016-06-07 18:05:09 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/nzjrs/osm-gps-map/releases/download/${version}/osm-gps-map-${version}.tar.gz";
|
2021-02-09 14:10:50 +00:00
|
|
|
sha256 = "sha256-ciw28YXhR+GC6B2VPC+ZxjyhadOk3zYGuOssSgqjwH0=";
|
2016-06-07 18:05:09 +00:00
|
|
|
};
|
|
|
|
|
2016-08-29 00:30:01 +00:00
|
|
|
outputs = [ "out" "dev" "doc" ];
|
2016-06-07 18:05:09 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2016-06-07 18:05:09 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2018-12-02 11:41:15 +00:00
|
|
|
cairo glib gobject-introspection
|
2021-05-07 21:18:14 +00:00
|
|
|
gnome.gnome-common gtk3 gnome.libsoup
|
2019-02-13 21:47:50 +00:00
|
|
|
];
|
2016-06-07 18:05:09 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-09-03 22:49:40 +00:00
|
|
|
description = "GTK widget for displaying OpenStreetMap tiles";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://nzjrs.github.io/osm-gps-map";
|
2016-06-07 18:05:09 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ hrdinka ];
|
2018-08-01 09:04:45 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-06-07 18:05:09 +00:00
|
|
|
};
|
|
|
|
}
|