Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c26584f1e5bc
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fd087520a56f
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jun 12, 2019

  1. Copy the full SHA
    7ec68ba View commit details

Commits on Jun 14, 2019

  1. Merge pull request #63009 from marsam/init-postgresqlPackages.pg_bigm

    postgresqlPackages.pg_bigm: init at 1.2
    marsam authored Jun 14, 2019
    Copy the full SHA
    fd08752 View commit details
Showing with 34 additions and 0 deletions.
  1. +32 −0 pkgs/servers/sql/postgresql/ext/pg_bigm.nix
  2. +2 −0 pkgs/servers/sql/postgresql/packages.nix
32 changes: 32 additions & 0 deletions pkgs/servers/sql/postgresql/ext/pg_bigm.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ stdenv, fetchurl, postgresql }:

stdenv.mkDerivation rec {
pname = "pg_bigm";
version = "1.2";

src = fetchurl {
url = "mirror://osdn/pgbigm/66565/${pname}-${version}-20161011.tar.gz";
sha256 = "1jp30za4bhwlas0yrhyjs9m03b1sj63km61xnvcbnh0sizyvhwis";
};

buildInputs = [ postgresql ];

makeFlags = [ "USE_PGXS=1" ];

installPhase = ''
mkdir -p $out/bin # For buildEnv to setup proper symlinks. See #22653
mkdir -p $out/{lib,share/extension}
cp *.so $out/lib
cp *.sql $out/share/extension
cp *.control $out/share/extension
'';

meta = with stdenv.lib; {
description = "Text similarity measurement and index searching based on bigrams";
homepage = "https://pgbigm.osdn.jp/";
maintainers = [ maintainers.marsam ];
platforms = postgresql.meta.platforms;
license = licenses.postgresql;
};
}
2 changes: 2 additions & 0 deletions pkgs/servers/sql/postgresql/packages.nix
Original file line number Diff line number Diff line change
@@ -9,6 +9,8 @@ self: super: {

pg_auto_failover = super.callPackage ./ext/pg_auto_failover.nix { };

pg_bigm = super.callPackage ./ext/pg_bigm.nix { };

pg_repack = super.callPackage ./ext/pg_repack.nix { };

pg_similarity = super.callPackage ./ext/pg_similarity.nix { };