about summary refs log tree commit diff
path: root/pkgs/development/libraries/libextractor/0.5.18.nix
blob: 0ee405e5822dcb70e6f6c6ea7470b2c0ed1b6435 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
args : with args;
	let localDefs = builderDefs {
		src = /* put a fetchurl here */
		fetchurl {
			url = http://gnunet.org/libextractor/download/libextractor-0.5.18.tar.gz;
			sha256 = "09y869zmnr6n2953ra4y7z9m9nj23prlqa4nr4rwcb50dzdmil1k";
		};

		buildInputs = [ zlib];
		configureFlags = [];
	} null; /* null is a terminator for sumArgs */
	in with localDefs;
stdenv.mkDerivation rec {
	name = "libextractor"+version;
	builder = writeScript (name + "-builder")
		(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
	meta = {
		description = "
	Libextractor - extracts metadata from files.
";
		inherit src;
	};
}