nixpkgs-suyu/pkgs/development/libraries/xapian/default.nix
Eelco Dolstra a2ddbc422f xapian: Move docs to separate output
This reduces xapian's "out" from 9.1 to 3.3 MB.
2015-07-26 22:46:44 +02:00

22 lines
555 B
Nix

{ stdenv, fetchurl, libuuid, zlib }:
stdenv.mkDerivation rec {
name = "xapian-${version}";
version = "1.2.21";
src = fetchurl {
url = "http://oligarchy.co.uk/xapian/${version}/xapian-core-${version}.tar.xz";
sha256 = "0grd2s6gf8yzqwdaa50g57j9d81mxkrrpkyldm2shgyizdc8gx33";
};
outputs = [ "out" "doc" ];
buildInputs = [ libuuid zlib ];
meta = {
description = "Search engine library";
homepage = http://xapian.org/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.chaoflow ];
};
}