2021-01-21 17:00:13 +00:00
|
|
|
{ cairo, fetchzip, glib, gnome3, gtk3, gobject-introspection, pkg-config, lib, stdenv }:
|
2016-06-07 19:05:09 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "osm-gps-map";
|
2021-02-09 14:10:50 +00:00
|
|
|
version = "1.2.0";
|
2016-06-07 19:05:09 +01: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 19:05:09 +01:00
|
|
|
};
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" "doc" ];
|
2016-06-07 19:05:09 +01:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2016-06-07 19:05:09 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
2018-12-02 11:41:15 +00:00
|
|
|
cairo glib gobject-introspection
|
2019-02-13 21:47:50 +00:00
|
|
|
gnome3.gnome-common gtk3 gnome3.libsoup
|
|
|
|
];
|
2016-06-07 19:05:09 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "GTK widget for displaying OpenStreetMap tiles";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://nzjrs.github.io/osm-gps-map";
|
2016-06-07 19:05:09 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|