diff --git a/pkgs/development/libraries/xapian/default.nix b/pkgs/development/libraries/xapian/default.nix index 575fb73084c5..a9334f31ecdc 100644 --- a/pkgs/development/libraries/xapian/default.nix +++ b/pkgs/development/libraries/xapian/default.nix @@ -1,18 +1,19 @@ { stdenv, fetchurl, libuuid, zlib }: -stdenv.mkDerivation { - name = "xapian-1.2.19"; +stdenv.mkDerivation rec { + name = "xapian-${version}"; + version = "1.2.21"; src = fetchurl { - url = http://oligarchy.co.uk/xapian/1.2.19/xapian-core-1.2.19.tar.xz; - sha256 = "11a7lm3w3pchk4rx144nc2p31994spyqmldm18ph86zzi01jcy2a"; + url = "http://oligarchy.co.uk/xapian/${version}/xapian-core-${version}.tar.xz"; + sha256 = "0grd2s6gf8yzqwdaa50g57j9d81mxkrrpkyldm2shgyizdc8gx33"; }; buildInputs = [ libuuid zlib ]; meta = { description = "Search engine library"; - homepage = "http://xapian.org"; + homepage = http://xapian.org/; license = stdenv.lib.licenses.gpl2Plus; maintainers = [ stdenv.lib.maintainers.chaoflow ]; };