2007-12-01 17:20:23 +01:00
|
|
|
args : with args;
|
2008-11-04 22:24:10 +01:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2007-12-01 17:20:23 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://gnunet.org/libextractor/download/libextractor-0.5.18.tar.gz;
|
|
|
|
sha256 = "09y869zmnr6n2953ra4y7z9m9nj23prlqa4nr4rwcb50dzdmil1k";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib];
|
|
|
|
configureFlags = [];
|
2008-08-19 07:54:09 +02:00
|
|
|
};
|
2008-01-18 13:36:56 +01:00
|
|
|
in with localDefs;
|
2007-12-01 17:20:23 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2009-03-03 14:27:40 +01:00
|
|
|
name = "libextractor-"+version;
|
2007-12-01 17:20:23 +01:00
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-18 13:36:56 +01:00
|
|
|
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
|
2007-12-01 17:20:23 +01:00
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "A tool to extract metadata from files";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2007-12-01 17:20:23 +01:00
|
|
|
};
|
|
|
|
}
|