forked from mirrors/nixpkgs
gpsd-2.95
svn path=/nixpkgs/trunk/; revision=27390
This commit is contained in:
parent
a6704045e6
commit
f0688ef3bc
|
@ -1,26 +1,25 @@
|
||||||
{ fetchurl, stdenv, pythonPackages, pkgconfig, dbus, dbus_glib
|
{ fetchurl, stdenv, pythonPackages, pkgconfig, dbus, dbus_glib
|
||||||
, ncurses, libX11, libXt, libXpm, libXaw, libXext
|
, ncurses, libX11, libXt, libXpm, libXaw, libXext, makeWrapper
|
||||||
|
, libusb1, docbook_xml_dtd_412, docbook_xsl, bc
|
||||||
, libxslt, xmlto, gpsdUser ? "gpsd" }:
|
, libxslt, xmlto, gpsdUser ? "gpsd" }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gpsd-2.39";
|
name = "gpsd-2.95";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.berlios.de/gpsd/${name}.tar.gz";
|
url = "http://download.berlios.de/gpsd/${name}.tar.gz";
|
||||||
sha256 = "089ahf97dhws3sk8nc88687h4ny2rlavkzg4wxqkhb0i0fs2yfzf";
|
sha256 = "1bjhyjg561kwp6zc2wg58njdvpnsj5yaa2slz8g3ga1176jl68w3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildNativeInputs = [ makeWrapper pkgconfig docbook_xml_dtd_412 docbook_xsl
|
||||||
pythonPackages.python pythonPackages.wrapPython
|
xmlto bc pythonPackages.wrapPython ];
|
||||||
pkgconfig dbus dbus_glib ncurses libX11 libXt libXpm libXaw libXext
|
|
||||||
libxslt xmlto
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonPath = [ pythonPackages.curses ];
|
pythonPath = [ pythonPackages.curses ];
|
||||||
|
|
||||||
configureFlags = "--enable-dbus --enable-gpsd-user=${gpsdUser} "
|
buildInputs = [ pythonPackages.python dbus dbus_glib ncurses libX11 libXt
|
||||||
# Make sure `xgpsspeed' has libXt and libX11 in its RPATH.
|
libXpm libXaw libXext libxslt libusb1 ];
|
||||||
+ "LDFLAGS=-Wl,--rpath=${libXt}/lib:${libX11}/lib";
|
|
||||||
|
configureFlags = "--enable-static --enable-dbus --enable-gpsd-user=${gpsdUser}";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue