Merge pull request #299094 from marsam/add-pg_roaringbitmap
postgresqlPackages.pg_roaringbitmap: init at 0.5.4
This commit is contained in:
commit
93883e16ec
@ -91,6 +91,8 @@ self: super: {
|
||||
|
||||
pg_relusage = super.callPackage ./pg_relusage.nix { };
|
||||
|
||||
pg_roaringbitmap = super.callPackage ./pg_roaringbitmap.nix { };
|
||||
|
||||
pg_safeupdate = super.callPackage ./pg_safeupdate.nix { };
|
||||
|
||||
pg_squeeze = super.callPackage ./pg_squeeze.nix { };
|
||||
|
32
pkgs/servers/sql/postgresql/ext/pg_roaringbitmap.nix
Normal file
32
pkgs/servers/sql/postgresql/ext/pg_roaringbitmap.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib, stdenv, fetchFromGitHub, postgresql, postgresqlTestHook }:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pg_roaringbitmap";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ChenHuajun";
|
||||
repo = "pg_roaringbitmap";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-E6vqawnsRsAIajGDgJcTUWV1H8GFFboTjhmVfemUGbs=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
postgresql
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -D -t $out/lib roaringbitmap${postgresql.dlSuffix}
|
||||
install -D -t $out/share/postgresql/extension roaringbitmap-*.sql
|
||||
install -D -t $out/share/postgresql/extension roaringbitmap.control
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "RoaringBitmap extension for PostgreSQL";
|
||||
homepage = "https://github.com/ChenHuajun/pg_roaringbitmap";
|
||||
changelog = "https://github.com/ChenHuajun/pg_roaringbitmap/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
inherit (postgresql.meta) platforms;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user