summary refs log tree commit diff
path: root/pkgs/development/libraries/clucene-core
diff options
context:
space:
mode:
authorMarkus Kowalewski <markus.kowalewski@gmail.com>2018-09-30 11:19:50 +0200
committerMarkus Kowalewski <markus.kowalewski@gmail.com>2018-09-30 19:11:14 +0200
commitc964f4fc26288b57a09c638b0ed6508c0a50e35d (patch)
tree7a40f90474dfd9e6f791e7e371a6920d037bd7a8 /pkgs/development/libraries/clucene-core
parente978d7a9f2a2f65cab54fc321df598ae0c845577 (diff)
downloadnixpkgs-c964f4fc26288b57a09c638b0ed6508c0a50e35d.tar
nixpkgs-c964f4fc26288b57a09c638b0ed6508c0a50e35d.tar.gz
nixpkgs-c964f4fc26288b57a09c638b0ed6508c0a50e35d.tar.bz2
nixpkgs-c964f4fc26288b57a09c638b0ed6508c0a50e35d.tar.lz
nixpkgs-c964f4fc26288b57a09c638b0ed6508c0a50e35d.tar.xz
nixpkgs-c964f4fc26288b57a09c638b0ed6508c0a50e35d.tar.zst
nixpkgs-c964f4fc26288b57a09c638b0ed6508c0a50e35d.zip
clucene: add license
Diffstat (limited to 'pkgs/development/libraries/clucene-core')
-rw-r--r--pkgs/development/libraries/clucene-core/2.x.nix5
-rw-r--r--pkgs/development/libraries/clucene-core/default.nix5
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/libraries/clucene-core/2.x.nix b/pkgs/development/libraries/clucene-core/2.x.nix
index 0db253bbec2..a14dec37047 100644
--- a/pkgs/development/libraries/clucene-core/2.x.nix
+++ b/pkgs/development/libraries/clucene-core/2.x.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
 
   doCheck = false; # fails with "Unable to find executable: /build/clucene-core-2.3.3.4/build/bin/cl_test"
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Core library for full-featured text search engine";
     longDescription = ''
       CLucene is a high-performance, scalable, cross platform, full-featured,
@@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
       CLucene is a port of the very popular Java Lucene text search engine API.
     '';
     homepage = http://clucene.sourceforge.net;
-    platforms = stdenv.lib.platforms.unix;
+    platforms = platforms.unix;
+    license = with licenses; [ asl20 lgpl2 ];
   };
 }
diff --git a/pkgs/development/libraries/clucene-core/default.nix b/pkgs/development/libraries/clucene-core/default.nix
index b65e794a92a..8451b085372 100644
--- a/pkgs/development/libraries/clucene-core/default.nix
+++ b/pkgs/development/libraries/clucene-core/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
 
   patches = [ ./gcc6.patch ];
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Core library for full-featured text search engine";
     longDescription = ''
       CLucene is a high-performance, scalable, cross platform, full-featured,
@@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
       CLucene is a port of the very popular Java Lucene text search engine API.
     '';
     homepage = http://clucene.sourceforge.net;
-    platforms = stdenv.lib.platforms.linux;
+    platforms = platforms.linux;
+    license = with licenses; [ asl20 lgpl2 ];
   };
 }