lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 32 lines 947 B view raw
1{ lib, stdenv, fetchFromGitHub, postgresql }: 2 3stdenv.mkDerivation rec { 4 pname = "pg_topn"; 5 version = "2.4.0"; 6 7 buildInputs = [ postgresql ]; 8 9 src = fetchFromGitHub { 10 owner = "citusdata"; 11 repo = "postgresql-topn"; 12 rev = "refs/tags/v${version}"; 13 sha256 = "1appxriw7h29kyhv3h6b338g5m2nz70q3mxasy4mjimqhbz1zyqs"; 14 }; 15 16 installPhase = '' 17 mkdir -p $out/{lib,share/postgresql/extension} 18 19 cp *.so $out/lib 20 cp *.sql $out/share/postgresql/extension 21 cp *.control $out/share/postgresql/extension 22 ''; 23 24 meta = with lib; { 25 description = "Efficient querying of 'top values' for PostgreSQL"; 26 homepage = "https://github.com/citusdata/postgresql-topn"; 27 changelog = "https://github.com/citusdata/postgresql-topn/raw/v${version}/CHANGELOG.md"; 28 maintainers = with maintainers; [ thoughtpolice ]; 29 platforms = postgresql.meta.platforms; 30 license = licenses.agpl3Only; 31 }; 32}