2007-12-01 16:20:23 +00:00
|
|
|
args : with args;
|
2008-11-04 21:24:10 +00:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2007-12-01 16:20:23 +00: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 06:54:09 +01:00
|
|
|
};
|
2008-01-18 12:36:56 +00:00
|
|
|
in with localDefs;
|
2007-12-01 16:20:23 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2009-03-03 13:27:40 +00:00
|
|
|
name = "libextractor-"+version;
|
2007-12-01 16:20:23 +00:00
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-18 12:36:56 +00:00
|
|
|
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
|
2007-12-01 16:20:23 +00:00
|
|
|
meta = {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "A tool to extract metadata from files";
|
2008-03-02 18:49:31 +00:00
|
|
|
inherit src;
|
2007-12-01 16:20:23 +00:00
|
|
|
};
|
|
|
|
}
|