nixpkgs/pkgs/development/libraries/java/lucene/default.nix
2021-11-23 21:09:19 +01:00

22 lines
460 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "lucene";
version = "1.4.3";
src = fetchurl {
url = "https://archive.apache.org/dist/jakarta/lucene/lucene-${version}.tar.gz";
sha256 = "1mxaxg65f7v8n60irjwm24v7hcisbl0srmpvcy1l4scs6rjj1awh";
};
buildCommand = ''
cp -r . $out/
'';
meta = with lib; {
description = "Java full-text search engine";
platforms = platforms.unix;
license = licenses.asl20;
};
}