mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
added opendbx 1.4.4
svn path=/nixpkgs/trunk/; revision=19872
This commit is contained in:
parent
61417a05c7
commit
b3dfc53d15
17
pkgs/development/libraries/opendbx/default.nix
Normal file
17
pkgs/development/libraries/opendbx/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{stdenv, fetchurl, readline, mysql, postgresql, sqlite}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opendbx-1.4.4";
|
||||
src = fetchurl {
|
||||
url = "http://linuxnetworks.de/opendbx/download/${name}.tar.gz";
|
||||
sha256 = "1pc70l54kkdakdw8njr2pnbcghq7fn2bnk97wzhac2adwdkjp7vs";
|
||||
};
|
||||
|
||||
configurePhase = ''
|
||||
export CPPFLAGS="-I${mysql}/include/mysql"
|
||||
export LDFLAGS="-L${mysql}/lib/mysql"
|
||||
./configure --prefix=$prefix --with-backends="mysql pgsql sqlite3" --disable-dependency-tracking --disable-static
|
||||
'';
|
||||
|
||||
buildInputs = [readline mysql postgresql sqlite];
|
||||
}
|
@ -1207,6 +1207,10 @@ let
|
||||
inherit fetchurl stdenv pkgconfig openobex bluez;
|
||||
};
|
||||
|
||||
opendbx = import ../development/libraries/opendbx {
|
||||
inherit fetchurl stdenv readline mysql postgresql sqlite;
|
||||
};
|
||||
|
||||
openjade = import ../tools/text/sgml/openjade {
|
||||
inherit fetchurl opensp perl;
|
||||
stdenv = overrideGCC stdenv gcc33;
|
||||
|
Loading…
Reference in New Issue
Block a user