forked from mirrors/nixpkgs
Adding geoclue - as framework only, feel free to build it with proper data providers if you have a reason for that
svn path=/nixpkgs/trunk/; revision=25335
This commit is contained in:
parent
1653e6ac5a
commit
03419cfc5a
49
pkgs/development/libraries/geoclue/default.nix
Normal file
49
pkgs/development/libraries/geoclue/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
x@{builderDefsPackage
|
||||||
|
, dbus, dbus_glib, glib, pkgconfig, libxml2, gnome, libxslt
|
||||||
|
, ...}:
|
||||||
|
builderDefsPackage
|
||||||
|
(a :
|
||||||
|
let
|
||||||
|
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||||
|
["gnome"];
|
||||||
|
|
||||||
|
buildInputs = map (n: builtins.getAttr n x)
|
||||||
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames))
|
||||||
|
++ [gnome.GConf];
|
||||||
|
sourceInfo = rec {
|
||||||
|
baseName="geoclue";
|
||||||
|
version="0.12.0";
|
||||||
|
name="${baseName}-${version}";
|
||||||
|
url="http://folks.o-hand.com/jku/geoclue-releases/${name}.tar.gz";
|
||||||
|
hash="15j619kvmdgj2hpma92mkxbzjvgn8147a7500zl3bap9g8bkylqg";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
rec {
|
||||||
|
src = a.fetchurl {
|
||||||
|
url = sourceInfo.url;
|
||||||
|
sha256 = sourceInfo.hash;
|
||||||
|
};
|
||||||
|
|
||||||
|
inherit (sourceInfo) name version;
|
||||||
|
inherit buildInputs;
|
||||||
|
|
||||||
|
/* doConfigure should be removed if not needed */
|
||||||
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Geolocation framework and some data providers";
|
||||||
|
maintainers = with a.lib.maintainers;
|
||||||
|
[
|
||||||
|
raskin
|
||||||
|
];
|
||||||
|
platforms = with a.lib.platforms;
|
||||||
|
linux;
|
||||||
|
license = a.lib.licenses.lglp2;
|
||||||
|
};
|
||||||
|
passthru = {
|
||||||
|
updateInfo = {
|
||||||
|
downloadPage = "http://folks.o-hand.com/jku/geoclue-releases/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}) x
|
||||||
|
|
|
@ -13,7 +13,7 @@ rec {
|
||||||
gettext libjpeg libpng libtiff libxml2 libxslt pango
|
gettext libjpeg libpng libtiff libxml2 libxslt pango
|
||||||
sqlite icu gperf bison flex autoconf automake libtool
|
sqlite icu gperf bison flex autoconf automake libtool
|
||||||
perl intltool pkgconfig libsoup gtkdoc libXt libproxy
|
perl intltool pkgconfig libsoup gtkdoc libXt libproxy
|
||||||
enchant python ruby which renderproto libXrender
|
enchant python ruby which renderproto libXrender geoclue
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -27,21 +27,28 @@ rec {
|
||||||
"--enable-web-timing"
|
"--enable-web-timing"
|
||||||
"--enable-image-resizer"
|
"--enable-image-resizer"
|
||||||
|
|
||||||
|
"--enable-geolocation"
|
||||||
|
|
||||||
|
# Not implemented?
|
||||||
|
# "--enable-web-audio"
|
||||||
|
|
||||||
"--enable-mathml"
|
"--enable-mathml"
|
||||||
|
|
||||||
# https://bugs.webkit.org/show_bug.cgi?id=42943
|
# https://bugs.webkit.org/show_bug.cgi?id=42943
|
||||||
# "--enable-wml"
|
# FIXED
|
||||||
|
"--enable-wml"
|
||||||
|
|
||||||
# https://bugs.webkit.org/show_bug.cgi?id=45110
|
# https://bugs.webkit.org/show_bug.cgi?id=45110
|
||||||
# "--enable-indexed-database"
|
# "--enable-indexed-database"
|
||||||
|
|
||||||
# Related bug is marked as closed, but seems to persist
|
# Related bug is marked as closed, but seems to persist
|
||||||
# "--enable-xhtmlmp"
|
"--enable-xhtmlmp"
|
||||||
|
|
||||||
# "--enable-input-speech"
|
# "--enable-input-speech"
|
||||||
|
|
||||||
# https://bugs.webkit.org/show_bug.cgi?id=43878
|
# https://bugs.webkit.org/show_bug.cgi?id=43878
|
||||||
# "--enable-file-writer"
|
# Related bug FIXED
|
||||||
|
"--enable-file-writer"
|
||||||
# "--enable-blob"
|
# "--enable-blob"
|
||||||
|
|
||||||
# May be or not be triggering https://bugs.webkit.org/show_bug.cgi?id=43878
|
# May be or not be triggering https://bugs.webkit.org/show_bug.cgi?id=43878
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
rec {
|
rec {
|
||||||
version="r70732";
|
version="r74228";
|
||||||
name="webkit-r70732";
|
name="webkit-r74228";
|
||||||
hash="1y81rir7mwqxd40i4zzq79c7wa0pvvgvk332k1j94xwqfrffnxzi";
|
hash="1vwh72zzvj2p9lrs847wmcxgpjl2411blfk6ry3wczcdwg712a46";
|
||||||
url="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r70732.tar.bz2";
|
url="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r74228.tar.bz2";
|
||||||
advertisedUrl="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r70732.tar.bz2";
|
advertisedUrl="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r74228.tar.bz2";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2970,6 +2970,8 @@ let
|
||||||
inherit (gtkLibs) pango glib gtk;
|
inherit (gtkLibs) pango glib gtk;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
geoclue = callPackage ../development/libraries/geoclue {};
|
||||||
|
|
||||||
geoip = builderDefsPackage ../development/libraries/geoip {
|
geoip = builderDefsPackage ../development/libraries/geoip {
|
||||||
inherit zlib;
|
inherit zlib;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue