diff options
author | Profpatsch <mail@profpatsch.de> | 2021-01-11 08:54:33 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-01-11 10:38:22 +0100 |
commit | 4a7f99d55d299453a9c2397f90b33d1120669775 (patch) | |
tree | 9fca8e9c9970d0a00ce56dfe11b63ae76b00cf01 /pkgs/servers/sql | |
parent | e87aef06e00c42b26789321454d7bd609548cc12 (diff) |
treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
Diffstat (limited to 'pkgs/servers/sql')
36 files changed, 72 insertions, 72 deletions
diff --git a/pkgs/servers/sql/cockroachdb/default.nix b/pkgs/servers/sql/cockroachdb/default.nix index ee156e37173ac..05d41afa28bdd 100644 --- a/pkgs/servers/sql/cockroachdb/default.nix +++ b/pkgs/servers/sql/cockroachdb/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoPackage, fetchurl +{ lib, stdenv, buildGoPackage, fetchurl , cmake, xz, which, autoconf , ncurses6, libedit, libunwind , installShellFiles @@ -60,7 +60,7 @@ buildGoPackage rec { find $out -type f -exec ${removeReferencesTo}/bin/remove-references-to -t ${go} '{}' + ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.cockroachlabs.com"; description = "A scalable, survivable, strongly-consistent SQL database"; license = licenses.bsl11; diff --git a/pkgs/servers/sql/mariadb/galera/default.nix b/pkgs/servers/sql/mariadb/galera/default.nix index 14ab75d159b21..7d1c49815e44c 100644 --- a/pkgs/servers/sql/mariadb/galera/default.nix +++ b/pkgs/servers/sql/mariadb/galera/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, buildEnv +{ lib, stdenv, fetchFromGitHub, buildEnv , asio, boost, check, openssl, scons }: @@ -50,7 +50,7 @@ in stdenv.mkDerivation rec { install -m 444 "www.evanjones.ca/LICENSE" "$out/$GALERA_LICENSE_DIR/LICENSE.crc32c" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Galera 3 wsrep provider library"; homepage = "https://galeracluster.com/"; license = licenses.lgpl2; diff --git a/pkgs/servers/sql/monetdb/default.nix b/pkgs/servers/sql/monetdb/default.nix index 04617943e2690..ca284330b30a8 100644 --- a/pkgs/servers/sql/monetdb/default.nix +++ b/pkgs/servers/sql/monetdb/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, cmake, python3 +{ lib, stdenv, fetchurl, cmake, python3 , bison, openssl, readline, bzip2 }: @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake python3 ]; buildInputs = [ bison openssl readline bzip2 ]; - meta = with stdenv.lib; { + meta = with lib; { description = "An open source database system"; homepage = "https://www.monetdb.org/"; license = licenses.mpl20; diff --git a/pkgs/servers/sql/mysql/5.7.x.nix b/pkgs/servers/sql/mysql/5.7.x.nix index 8b489816a50a1..bfdacf3444eac 100644 --- a/pkgs/servers/sql/mysql/5.7.x.nix +++ b/pkgs/servers/sql/mysql/5.7.x.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, cmake, bison, pkgconfig +{ lib, stdenv, fetchurl, cmake, bison, pkgconfig , boost, libedit, libevent, lz4, ncurses, openssl, protobuf, readline, zlib, perl , cctools, CoreServices, developer_cmds , libtirpc, rpcsvc-proto @@ -75,7 +75,7 @@ self = stdenv.mkDerivation rec { mysqlVersion = "5.7"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.mysql.com/"; description = "The world's most popular open source database"; platforms = platforms.unix; diff --git a/pkgs/servers/sql/percona/5.6.x.nix b/pkgs/servers/sql/percona/5.6.x.nix index 3089a0d5c99b7..905a8424e8efe 100644 --- a/pkgs/servers/sql/percona/5.6.x.nix +++ b/pkgs/servers/sql/percona/5.6.x.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, cmake, bison, ncurses, openssl, zlib, libaio, perl }: +{ lib, stdenv, fetchurl, cmake, bison, ncurses, openssl, zlib, libaio, perl }: stdenv.mkDerivation rec { pname = "percona-server"; @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { passthru.mysqlVersion = "5.6"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.percona.com"; description = "a free, fully compatible, enhanced, open source drop-in replacement for MySQL that provides superior performance, scalability and instrumentation"; platforms = platforms.linux; diff --git a/pkgs/servers/sql/pgbouncer/default.nix b/pkgs/servers/sql/pgbouncer/default.nix index d72a32746dbab..9fa596292a6ee 100644 --- a/pkgs/servers/sql/pgbouncer/default.nix +++ b/pkgs/servers/sql/pgbouncer/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, openssl, libevent, c-ares, pkg-config }: +{ lib, stdenv, fetchurl, openssl, libevent, c-ares, pkg-config }: stdenv.mkDerivation rec { pname = "pgbouncer"; @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { buildInputs = [ libevent openssl c-ares ]; enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://pgbouncer.github.io"; description = "Lightweight connection pooler for PostgreSQL"; license = licenses.isc; diff --git a/pkgs/servers/sql/pgpool/default.nix b/pkgs/servers/sql/pgpool/default.nix index 7c2f3521a085f..ad32904ce8a59 100644 --- a/pkgs/servers/sql/pgpool/default.nix +++ b/pkgs/servers/sql/pgpool/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, postgresql, openssl, pam ? null, libmemcached ? null }: +{ lib, stdenv, fetchurl, postgresql, openssl, pam ? null, libmemcached ? null }: stdenv.mkDerivation rec { pname = "pgpool-II"; @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://pgpool.net/mediawiki/index.php"; description = "A middleware that works between postgresql servers and postgresql clients"; license = licenses.free; diff --git a/pkgs/servers/sql/postgresql/ext/age.nix b/pkgs/servers/sql/postgresql/ext/age.nix index 09021317cd13b..1017611aeaa9d 100644 --- a/pkgs/servers/sql/postgresql/ext/age.nix +++ b/pkgs/servers/sql/postgresql/ext/age.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, bison, flex, postgresql }: +{ lib, stdenv, fetchFromGitHub, bison, flex, postgresql }: stdenv.mkDerivation rec { pname = "age"; @@ -53,7 +53,7 @@ stdenv.mkDerivation rec { ''; }; - meta = with stdenv.lib; { + meta = with lib; { description = "A graph database extension for PostgreSQL"; homepage = "https://github.com/bitnine-oss/AgensGraph-Extension"; changelog = "https://github.com/bitnine-oss/AgensGraph-Extension/releases/tag/v${version}"; diff --git a/pkgs/servers/sql/postgresql/ext/cstore_fdw.nix b/pkgs/servers/sql/postgresql/ext/cstore_fdw.nix index 5525fc9f9655f..d88d693f073d4 100644 --- a/pkgs/servers/sql/postgresql/ext/cstore_fdw.nix +++ b/pkgs/servers/sql/postgresql/ext/cstore_fdw.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql, protobufc }: +{ lib, stdenv, fetchFromGitHub, postgresql, protobufc }: stdenv.mkDerivation rec { pname = "cstore_fdw"; @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { cp *.control $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Columnar storage for PostgreSQL"; homepage = "https://www.citusdata.com/"; maintainers = with maintainers; [ thoughtpolice ]; diff --git a/pkgs/servers/sql/postgresql/ext/periods.nix b/pkgs/servers/sql/postgresql/ext/periods.nix index c2277019f89b5..4d1d3326457f0 100644 --- a/pkgs/servers/sql/postgresql/ext/periods.nix +++ b/pkgs/servers/sql/postgresql/ext/periods.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql }: +{ lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation rec { pname = "periods"; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { install -D -t $out/share/postgresql/extension *.control ''; - meta = with stdenv.lib; { + meta = with lib; { description = "PostgreSQL extension implementing SQL standard functionality for PERIODs and SYSTEM VERSIONING"; homepage = "https://github.com/xocolatl/periods"; maintainers = with maintainers; [ ivan ]; diff --git a/pkgs/servers/sql/postgresql/ext/pg_auto_failover.nix b/pkgs/servers/sql/postgresql/ext/pg_auto_failover.nix index 14cdb3ba8f802..99a81f875484f 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_auto_failover.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_auto_failover.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql, openssl, zlib, readline }: +{ lib, stdenv, fetchFromGitHub, postgresql, openssl, zlib, readline }: stdenv.mkDerivation rec { pname = "pg_auto_failover"; @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { install -D -t $out/share/postgresql/extension src/monitor/pgautofailover.control ''; - meta = with stdenv.lib; { + meta = with lib; { description = "PostgreSQL extension and service for automated failover and high-availability"; homepage = "https://github.com/citusdata/pg_auto_failover"; maintainers = [ maintainers.marsam ]; diff --git a/pkgs/servers/sql/postgresql/ext/pg_bigm.nix b/pkgs/servers/sql/postgresql/ext/pg_bigm.nix index 055d1de3c788f..a1077a42ac225 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_bigm.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_bigm.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, postgresql }: +{ lib, stdenv, fetchurl, postgresql }: stdenv.mkDerivation rec { pname = "pg_bigm"; @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { cp *.control $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Text similarity measurement and index searching based on bigrams"; homepage = "https://pgbigm.osdn.jp/"; maintainers = [ maintainers.marsam ]; diff --git a/pkgs/servers/sql/postgresql/ext/pg_cron.nix b/pkgs/servers/sql/postgresql/ext/pg_cron.nix index 1d791c3a07255..c1aefa1770ff0 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_cron.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_cron.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql }: +{ lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation rec { pname = "pg_cron"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { cp *.control $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Run Cron jobs through PostgreSQL"; homepage = "https://github.com/citusdata/pg_cron"; maintainers = with maintainers; [ thoughtpolice ]; diff --git a/pkgs/servers/sql/postgresql/ext/pg_ed25519.nix b/pkgs/servers/sql/postgresql/ext/pg_ed25519.nix index 95d45b2663d93..d3ff2a56e3a83 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_ed25519.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_ed25519.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, postgresql }: +{ lib, stdenv, fetchurl, postgresql }: stdenv.mkDerivation rec { pname = "pg_ed25519"; @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { cp *.control $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "PostgreSQL extension for signing and verifying ed25519 signatures"; homepage = "https://gitlab.com/dwagin/pg_ed25519"; maintainers = [ maintainers.renzo ]; diff --git a/pkgs/servers/sql/postgresql/ext/pg_hll.nix b/pkgs/servers/sql/postgresql/ext/pg_hll.nix index ab80cd1748c54..4689f176188c8 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_hll.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_hll.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql }: +{ lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation rec { pname = "pg_hll"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { cp *.control $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "HyperLogLog for PostgreSQL"; homepage = "https://github.com/citusdata/postgresql-hll"; changelog = "https://github.com/citusdata/postgresql-hll/blob/v${version}/CHANGELOG.md"; diff --git a/pkgs/servers/sql/postgresql/ext/pg_partman.nix b/pkgs/servers/sql/postgresql/ext/pg_partman.nix index 9a289919558c1..d0bc8435c3e3b 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_partman.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_partman.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql }: +{ lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation rec { pname = "pg_partman"; @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { cp *.control $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Partition management extension for PostgreSQL"; homepage = "https://github.com/pgpartman/pg_partman"; maintainers = with maintainers; [ ggpeti ]; diff --git a/pkgs/servers/sql/postgresql/ext/pg_repack.nix b/pkgs/servers/sql/postgresql/ext/pg_repack.nix index f197bef5463c0..ecc4000f5f6b1 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_repack.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_repack.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql, openssl, zlib, readline }: +{ lib, stdenv, fetchFromGitHub, postgresql, openssl, zlib, readline }: stdenv.mkDerivation rec { pname = "pg_repack"; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { install -D lib/{pg_repack--${version}.sql,pg_repack.control} -t $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Reorganize tables in PostgreSQL databases with minimal locks"; longDescription = '' pg_repack is a PostgreSQL extension which lets you remove bloat from tables and indexes, and optionally restore diff --git a/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix b/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix index b835141e2ca7e..b2a58b6bc3e4d 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql }: +{ lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation rec { pname = "pg-safeupdate"; @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { install -D safeupdate.so -t $out/lib ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A simple extension to PostgreSQL that requires criteria for UPDATE and DELETE"; homepage = "https://github.com/eradman/pg-safeupdate"; platforms = postgresql.meta.platforms; diff --git a/pkgs/servers/sql/postgresql/ext/pg_topn.nix b/pkgs/servers/sql/postgresql/ext/pg_topn.nix index 03d571c03ba6b..eb0965a337817 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_topn.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_topn.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql }: +{ lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation rec { pname = "pg_topn"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { cp *.control $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Efficient querying of 'top values' for PostgreSQL"; homepage = "https://github.com/citusdata/postgresql-topn"; changelog = "https://github.com/citusdata/postgresql-topn/blob/v${version}/CHANGELOG.md"; diff --git a/pkgs/servers/sql/postgresql/ext/pgjwt.nix b/pkgs/servers/sql/postgresql/ext/pgjwt.nix index 9576c41861180..b89ac17250085 100644 --- a/pkgs/servers/sql/postgresql/ext/pgjwt.nix +++ b/pkgs/servers/sql/postgresql/ext/pgjwt.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql }: +{ lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation { pname = "pgjwt"; @@ -17,7 +17,7 @@ stdenv.mkDerivation { cp pg*sql *.control $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "PostgreSQL implementation of JSON Web Tokens"; longDescription = '' sign() and verify() functions to create and verify JSON Web Tokens. diff --git a/pkgs/servers/sql/postgresql/ext/pgroonga.nix b/pkgs/servers/sql/postgresql/ext/pgroonga.nix index 05fc6c5ca6a99..50fb383dabb82 100644 --- a/pkgs/servers/sql/postgresql/ext/pgroonga.nix +++ b/pkgs/servers/sql/postgresql/ext/pgroonga.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, postgresql, msgpack, groonga }: +{ lib, stdenv, fetchurl, pkgconfig, postgresql, msgpack, groonga }: stdenv.mkDerivation rec { pname = "pgroonga"; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { install -D ./{pgroonga-*.sql,pgroonga.control} -t $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A PostgreSQL extension to use Groonga as the index"; longDescription = '' PGroonga is a PostgreSQL extension to use Groonga as the index. diff --git a/pkgs/servers/sql/postgresql/ext/pgrouting.nix b/pkgs/servers/sql/postgresql/ext/pgrouting.nix index 9863b2276d118..c51ef153444f8 100644 --- a/pkgs/servers/sql/postgresql/ext/pgrouting.nix +++ b/pkgs/servers/sql/postgresql/ext/pgrouting.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql, perl, cmake, boost }: +{ lib, stdenv, fetchFromGitHub, postgresql, perl, cmake, boost }: stdenv.mkDerivation rec { pname = "pgrouting"; @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { install -D sql/common/pgrouting.control -t $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A PostgreSQL/PostGIS extension that provides geospatial routing functionality"; homepage = "https://pgrouting.org/"; changelog = "https://github.com/pgRouting/pgrouting/releases/tag/v${version}"; diff --git a/pkgs/servers/sql/postgresql/ext/pgtap.nix b/pkgs/servers/sql/postgresql/ext/pgtap.nix index 69f46ba3e9058..396e743e70b46 100644 --- a/pkgs/servers/sql/postgresql/ext/pgtap.nix +++ b/pkgs/servers/sql/postgresql/ext/pgtap.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql, perl, perlPackages, which }: +{ lib, stdenv, fetchFromGitHub, postgresql, perl, perlPackages, which }: stdenv.mkDerivation rec { pname = "pgtap"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { install -D {sql/pgtap--${version}.sql,pgtap.control} -t $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A unit testing framework for PostgreSQL"; longDescription = '' pgTAP is a unit testing framework for PostgreSQL written in PL/pgSQL and PL/SQL. diff --git a/pkgs/servers/sql/postgresql/ext/pipelinedb.nix b/pkgs/servers/sql/postgresql/ext/pipelinedb.nix index 3bca35095c4cb..d909761cb5ea1 100644 --- a/pkgs/servers/sql/postgresql/ext/pipelinedb.nix +++ b/pkgs/servers/sql/postgresql/ext/pipelinedb.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql, zeromq, openssl }: +{ lib, stdenv, fetchFromGitHub, postgresql, zeromq, openssl }: stdenv.mkDerivation rec { pname = "pipelinedb"; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { install -D -t $out/share/postgresql/extension {pipelinedb-*.sql,pipelinedb.control} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "High-performance time-series aggregation for PostgreSQL"; homepage = "https://www.pipelinedb.com/"; license = licenses.asl20; diff --git a/pkgs/servers/sql/postgresql/ext/plpgsql_check.nix b/pkgs/servers/sql/postgresql/ext/plpgsql_check.nix index 665cb1dc06938..5ce32177d51be 100644 --- a/pkgs/servers/sql/postgresql/ext/plpgsql_check.nix +++ b/pkgs/servers/sql/postgresql/ext/plpgsql_check.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql }: +{ lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation rec { pname = "plpgsql_check"; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { install -D -t $out/share/postgresql/extension *.control ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Linter tool for language PL/pgSQL"; homepage = "https://github.com/okbob/plpgsql_check"; platforms = postgresql.meta.platforms; diff --git a/pkgs/servers/sql/postgresql/ext/plv8.nix b/pkgs/servers/sql/postgresql/ext/plv8.nix index 8186e9128d9bc..a546c3a687f43 100644 --- a/pkgs/servers/sql/postgresql/ext/plv8.nix +++ b/pkgs/servers/sql/postgresql/ext/plv8.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, v8, perl, postgresql }: +{ lib, stdenv, fetchFromGitHub, v8, perl, postgresql }: stdenv.mkDerivation rec { pname = "plv8"; @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { install -D {plls,plcoffee,plv8}{--${version}.sql,.control} -t $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "V8 Engine Javascript Procedural Language add-on for PostgreSQL"; homepage = "https://plv8.github.io/"; maintainers = with maintainers; [ volth marsam ]; diff --git a/pkgs/servers/sql/postgresql/ext/postgis.nix b/pkgs/servers/sql/postgresql/ext/postgis.nix index fdf4b40d3b068..e9c9a24ae3674 100644 --- a/pkgs/servers/sql/postgresql/ext/postgis.nix +++ b/pkgs/servers/sql/postgresql/ext/postgis.nix @@ -1,5 +1,5 @@ { fetchurl -, stdenv +, lib, stdenv , perl , libxml2 , postgresql @@ -68,7 +68,7 @@ stdenv.mkDerivation rec { passthru.tests.postgis = nixosTests.postgis; - meta = with stdenv.lib; { + meta = with lib; { description = "Geographic Objects for PostgreSQL"; homepage = "https://postgis.net/"; changelog = "https://git.osgeo.org/gitea/postgis/postgis/raw/tag/${version}/NEWS"; diff --git a/pkgs/servers/sql/postgresql/ext/repmgr.nix b/pkgs/servers/sql/postgresql/ext/repmgr.nix index a2e319170bd46..ceb9cc9d8af24 100644 --- a/pkgs/servers/sql/postgresql/ext/repmgr.nix +++ b/pkgs/servers/sql/postgresql/ext/repmgr.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub +{ lib, stdenv, fetchFromGitHub , postgresql , openssl , zlib @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { cp *.control $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://repmgr.org/"; description = "Replication manager for PostgreSQL cluster"; license = licenses.postgresql; diff --git a/pkgs/servers/sql/postgresql/ext/smlar.nix b/pkgs/servers/sql/postgresql/ext/smlar.nix index adefe085a0bb2..fdb2f7395c833 100644 --- a/pkgs/servers/sql/postgresql/ext/smlar.nix +++ b/pkgs/servers/sql/postgresql/ext/smlar.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, postgresql }: +{ lib, stdenv, fetchgit, postgresql }: stdenv.mkDerivation rec { pname = "smlar-unstable"; @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { install -D -t $out/share/postgresql/extension *.control ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Compute similary of any one-dimensional arrays"; homepage = "http://sigaev.ru/git/gitweb.cgi?p=smlar.git"; platforms = postgresql.meta.platforms; diff --git a/pkgs/servers/sql/postgresql/ext/tds_fdw.nix b/pkgs/servers/sql/postgresql/ext/tds_fdw.nix index 478b27b74f16b..19331f350c550 100644 --- a/pkgs/servers/sql/postgresql/ext/tds_fdw.nix +++ b/pkgs/servers/sql/postgresql/ext/tds_fdw.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql, freetds }: +{ lib, stdenv, fetchFromGitHub, postgresql, freetds }: stdenv.mkDerivation rec { pname = "tds_fdw"; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { install -D tds_fdw.control -t $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A PostgreSQL foreign data wrapper to connect to TDS databases (Sybase and Microsoft SQL Server)"; homepage = "https://github.com/tds-fdw/tds_fdw"; maintainers = [ maintainers.steve-chavez ]; diff --git a/pkgs/servers/sql/postgresql/ext/temporal_tables.nix b/pkgs/servers/sql/postgresql/ext/temporal_tables.nix index eaf63fcba6e92..a2c3fe0e390dd 100644 --- a/pkgs/servers/sql/postgresql/ext/temporal_tables.nix +++ b/pkgs/servers/sql/postgresql/ext/temporal_tables.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, postgresql }: +{ lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation rec { pname = "temporal_tables"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { cp *.control $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Temporal Tables PostgreSQL Extension "; homepage = "https://github.com/mlt/temporal_tables"; maintainers = with maintainers; [ ggpeti ]; diff --git a/pkgs/servers/sql/postgresql/ext/timescaledb.nix b/pkgs/servers/sql/postgresql/ext/timescaledb.nix index 55d2cd81a2177..abde49542f1ae 100644 --- a/pkgs/servers/sql/postgresql/ext/timescaledb.nix +++ b/pkgs/servers/sql/postgresql/ext/timescaledb.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, postgresql, openssl }: +{ lib, stdenv, fetchFromGitHub, cmake, postgresql, openssl }: # # To enable on NixOS: # config.services.postgresql = { @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { done ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Scales PostgreSQL for time-series data via automatic partitioning across time and space"; homepage = "https://www.timescale.com/"; maintainers = with maintainers; [ volth marsam ]; diff --git a/pkgs/servers/sql/postgresql/ext/tsearch_extras.nix b/pkgs/servers/sql/postgresql/ext/tsearch_extras.nix index f05fa6312d8fe..f94bb69871cb2 100644 --- a/pkgs/servers/sql/postgresql/ext/tsearch_extras.nix +++ b/pkgs/servers/sql/postgresql/ext/tsearch_extras.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, pkgconfig, postgresql }: +{ lib, stdenv, fetchFromGitHub, pkgconfig, postgresql }: stdenv.mkDerivation { pname = "tsearch-extras"; @@ -19,7 +19,7 @@ stdenv.mkDerivation { install -D ./{tsearch_extras--1.0.sql,tsearch_extras.control} -t $out/share/postgresql/extension ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Provides a few PostgreSQL functions for a lower-level data full text search"; homepage = "https://github.com/zulip/tsearch_extras/"; license = licenses.postgresql; diff --git a/pkgs/servers/sql/sqlite/jdbc/default.nix b/pkgs/servers/sql/sqlite/jdbc/default.nix index f5444bb068368..01a9d5fa2e234 100644 --- a/pkgs/servers/sql/sqlite/jdbc/default.nix +++ b/pkgs/servers/sql/sqlite/jdbc/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchMavenArtifact }: +{ lib, stdenv, fetchMavenArtifact }: stdenv.mkDerivation rec { pname = "sqlite-jdbc"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { install -m444 -D ${src}/share/java/*${pname}-${version}.jar "$out/share/java/${pname}-${version}.jar" ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/xerial/sqlite-jdbc"; description = "Library for accessing and creating SQLite database files in Java"; license = licenses.asl20; diff --git a/pkgs/servers/sql/virtuoso/6.x.nix b/pkgs/servers/sql/virtuoso/6.x.nix index efd8cd02a15bf..4737c0a389420 100644 --- a/pkgs/servers/sql/virtuoso/6.x.nix +++ b/pkgs/servers/sql/virtuoso/6.x.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, libxml2, openssl, readline, gawk }: +{ lib, stdenv, fetchurl, libxml2, openssl, readline, gawk }: stdenv.mkDerivation rec { name = "virtuoso-opensource-6.1.6"; @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { done ''; - meta = with stdenv.lib; { + meta = with lib; { description = "SQL/RDF database used by, e.g., KDE-nepomuk"; homepage = "http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/"; platforms = platforms.linux; diff --git a/pkgs/servers/sql/virtuoso/7.x.nix b/pkgs/servers/sql/virtuoso/7.x.nix index bca1aae82e512..a27cd249f1ce3 100644 --- a/pkgs/servers/sql/virtuoso/7.x.nix +++ b/pkgs/servers/sql/virtuoso/7.x.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, libxml2, openssl, readline, gawk }: +{ lib, stdenv, fetchurl, libxml2, openssl, readline, gawk }: stdenv.mkDerivation rec { name = "virtuoso-opensource-7.2.4.2"; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete ''; - meta = with stdenv.lib; { + meta = with lib; { description = "SQL/RDF database used by, e.g., KDE-nepomuk"; homepage = "http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/"; #configure: The current version [...] can only be built on 64bit platforms |