summary refs log tree commit diff
path: root/pkgs/servers/sql/postgresql/ext/pgroonga.nix
diff options
context:
space:
mode:
authorDanylo Hlynskyi <abcz2.uprola@gmail.com>2019-07-16 11:32:52 +0300
committerGitHub <noreply@github.com>2019-07-16 11:32:52 +0300
commit475f1ebd987d7ca5bcdefb3d88bbd7a2e315e08f (patch)
tree8a63a7aac5b84b754d5ea6aab309e039c1b93bd8 /pkgs/servers/sql/postgresql/ext/pgroonga.nix
parent517c52ec2e6d55553cee8df6fefda6d0cb022c41 (diff)
parent0ddb9e04957e372eacfd7aedd8135cd605bc7517 (diff)
downloadnixpkgs-475f1ebd987d7ca5bcdefb3d88bbd7a2e315e08f.tar
nixpkgs-475f1ebd987d7ca5bcdefb3d88bbd7a2e315e08f.tar.gz
nixpkgs-475f1ebd987d7ca5bcdefb3d88bbd7a2e315e08f.tar.bz2
nixpkgs-475f1ebd987d7ca5bcdefb3d88bbd7a2e315e08f.tar.lz
nixpkgs-475f1ebd987d7ca5bcdefb3d88bbd7a2e315e08f.tar.xz
nixpkgs-475f1ebd987d7ca5bcdefb3d88bbd7a2e315e08f.tar.zst
nixpkgs-475f1ebd987d7ca5bcdefb3d88bbd7a2e315e08f.zip
Merge branch 'master' into postgresql-plugins-bin
Diffstat (limited to 'pkgs/servers/sql/postgresql/ext/pgroonga.nix')
-rw-r--r--pkgs/servers/sql/postgresql/ext/pgroonga.nix19
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/servers/sql/postgresql/ext/pgroonga.nix b/pkgs/servers/sql/postgresql/ext/pgroonga.nix
index c07153e1971..b8396f67478 100644
--- a/pkgs/servers/sql/postgresql/ext/pgroonga.nix
+++ b/pkgs/servers/sql/postgresql/ext/pgroonga.nix
@@ -1,12 +1,12 @@
 { stdenv, fetchurl, pkgconfig, postgresql, msgpack, groonga }:
 
 stdenv.mkDerivation rec {
-  name = "pgroonga-${version}";
-  version = "2.1.8";
+  pname = "pgroonga";
+  version = "2.2.0";
 
   src = fetchurl {
-    url = "https://packages.groonga.org/source/pgroonga/${name}.tar.gz";
-    sha256 = "0k3cxl58rdbs19sv27sk8yhk8ai8r046hyg9araxqiplrxx9y01s";
+    url = "https://packages.groonga.org/source/${pname}/${pname}-${version}.tar.gz";
+    sha256 = "1cankcprikx8nf72yg4h8542gqqlfgww6d63kg7l8l8sz962d28b";
   };
 
   nativeBuildInputs = [ pkgconfig ];
@@ -16,13 +16,18 @@ stdenv.mkDerivation rec {
 
   installPhase = ''
     install -D pgroonga.so -t $out/lib/
-    install -D ./{pgroonga-*.sql,pgroonga.control} -t $out/share/extension
+    install -D ./{pgroonga-*.sql,pgroonga.control} -t $out/share/postgresql/extension
   '';
 
   meta = with stdenv.lib; {
     description = "A PostgreSQL extension to use Groonga as the index";
-    longDescription = "PGroonga is a PostgreSQL extension to use Groonga as the index. PostgreSQL supports full text search against languages that use only alphabet and digit. It means that PostgreSQL doesn't support full text search against Japanese, Chinese and so on. You can use super fast full text search feature against all languages by installing PGroonga into your PostgreSQL.";
-    homepage = https://pgroonga.github.io/;
+    longDescription = ''
+      PGroonga is a PostgreSQL extension to use Groonga as the index.
+      PostgreSQL supports full text search against languages that use only alphabet and digit.
+      It means that PostgreSQL doesn't support full text search against Japanese, Chinese and so on.
+      You can use super fast full text search feature against all languages by installing PGroonga into your PostgreSQL.
+    '';
+    homepage = "https://pgroonga.github.io/";
     license = licenses.postgresql;
     maintainers = with maintainers; [ DerTim1 ];
   };