mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Add Git version of mdbtools - UCS-2 capable
svn path=/nixpkgs/trunk/; revision=24007
This commit is contained in:
parent
c7ca6b46b2
commit
cffebf17a2
25
pkgs/tools/misc/mdbtools/git.nix
Normal file
25
pkgs/tools/misc/mdbtools/git.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchurl, fetchgit, glib, readline, bison, flex, pkgconfig,
|
||||
libiconv, autoconf, automake, libtool }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mdbtools-git";
|
||||
|
||||
src = fetchgit {
|
||||
url = "http://github.com/brianb/mdbtools.git";
|
||||
rev = "5ac44b69d9375cca3e1055b70fd22abf7fbf17ab";
|
||||
sha256 = "094e6b480c6fda3a000d0d8539b209d2d7c204a440660a21c11f2e1c9b3aa345";
|
||||
};
|
||||
|
||||
buildInputs = [glib readline bison flex pkgconfig libiconv autoconf automake
|
||||
libtool];
|
||||
|
||||
preConfigure = ''
|
||||
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -liconv"
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = ".mdb (MS Access) format tools";
|
||||
};
|
||||
}
|
@ -821,6 +821,10 @@ let
|
||||
flex = flex2535;
|
||||
};
|
||||
|
||||
mdbtools_git = callPackage ../tools/misc/mdbtools/git.nix {
|
||||
flex = flex2535;
|
||||
};
|
||||
|
||||
miniupnpd = callPackage ../tools/networking/miniupnpd { };
|
||||
|
||||
mjpegtools = callPackage ../tools/video/mjpegtools { };
|
||||
|
Loading…
Reference in New Issue
Block a user