nixpkgs/pkgs/development/libraries/osm-gps-map/default.nix

29 lines
829 B
Nix
Raw Normal View History

{ cairo, fetchzip, glib, gnome3, gtk3, gobject-introspection, pkg-config, lib, stdenv }:
2016-06-07 19:05:09 +01:00
stdenv.mkDerivation rec {
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
};
outputs = [ "out" "dev" "doc" ];
2016-06-07 19:05:09 +01:00
nativeBuildInputs = [ pkg-config ];
2016-06-07 19:05:09 +01:00
buildInputs = [
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
meta = with lib; {
description = "GTK widget for displaying OpenStreetMap tiles";
homepage = "https://nzjrs.github.io/osm-gps-map";
2016-06-07 19:05:09 +01:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ hrdinka ];
platforms = platforms.linux ++ platforms.darwin;
2016-06-07 19:05:09 +01:00
};
}