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

29 lines
826 B
Nix
Raw Normal View History

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