lucene: remove builder.sh

This commit is contained in:
Felix Buehler 2021-11-23 12:51:31 +01:00
parent 92b2654605
commit cb30fd980b
2 changed files with 6 additions and 10 deletions

View file

@ -1,6 +0,0 @@
set -e
source $stdenv/setup
tar zxvf $src
mkdir -p $out
mv $name/* $out

View file

@ -1,16 +1,18 @@
{lib, stdenv, fetchurl} :
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "lucene";
version = "1.4.3";
builder = ./builder.sh;
src = fetchurl {
url = "https://archive.apache.org/dist/jakarta/lucene/${pname}-${version}.tar.gz";
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;