depot/third_party/nixpkgs/pkgs/development/libraries/osm-gps-map/default.nix
Default email d419639f9c Project import generated by Copybara.
GitOrigin-RevId: 6b1057b452c55bb3b463f0d7055bc4ec3fd1f381
2021-02-17 18:02:09 +01:00

28 lines
829 B
Nix

{ cairo, fetchzip, glib, gnome3, gtk3, gobject-introspection, pkg-config, lib, stdenv }:
stdenv.mkDerivation rec {
pname = "osm-gps-map";
version = "1.2.0";
src = fetchzip {
url = "https://github.com/nzjrs/osm-gps-map/releases/download/${version}/osm-gps-map-${version}.tar.gz";
sha256 = "sha256-ciw28YXhR+GC6B2VPC+ZxjyhadOk3zYGuOssSgqjwH0=";
};
outputs = [ "out" "dev" "doc" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
cairo glib gobject-introspection
gnome3.gnome-common gtk3 gnome3.libsoup
];
meta = with lib; {
description = "GTK widget for displaying OpenStreetMap tiles";
homepage = "https://nzjrs.github.io/osm-gps-map";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ hrdinka ];
platforms = platforms.linux ++ platforms.darwin;
};
}