Merge 'staging' into multiple-outputs
Conflicts: pkgs/applications/audio/flac/default.nix pkgs/build-support/gcc-wrapper/builder.sh pkgs/development/libraries/apr-util/default.nix pkgs/development/libraries/apr/default.nix pkgs/development/libraries/atk/default.nix pkgs/development/libraries/freetype/default.nix pkgs/development/libraries/gdk-pixbuf/default.nix pkgs/development/libraries/glib/default.nix pkgs/development/libraries/glibc/2.17/builder.sh pkgs/development/libraries/glibc/2.17/locales.nix pkgs/development/libraries/libjpeg/default.nix pkgs/development/libraries/libogg/default.nix pkgs/development/libraries/libsamplerate/default.nix pkgs/development/libraries/libtiff/default.nix pkgs/development/libraries/libvorbis/default.nix pkgs/development/libraries/mesa/default.nix pkgs/development/libraries/pango/default.nix pkgs/development/web/nodejs/default.nix pkgs/os-specific/linux/pam/default.nix pkgs/os-specific/linux/systemd/default.nix pkgs/stdenv/generic/setup.sh pkgs/stdenv/linux/default.nix pkgs/top-level/all-packages.nix pkgs/top-level/release-small.nix
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
{buildPerlPackage, fetchurl, db4}:
|
||||
{buildPerlPackage, fetchurl, db}:
|
||||
|
||||
buildPerlPackage rec {
|
||||
name = "BerkeleyDB-0.36";
|
||||
name = "BerkeleyDB-0.54";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
||||
sha256 = "07xf50riarb60l1h6m2dqmql8q5dij619712fsgw7ach04d8g3z1";
|
||||
sha256 = "010e66d0034b93a8397c600da320611149aef7861eaf1f93b95e49ae37b825b8";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
echo "LIB = ${db4}/lib" > config.in
|
||||
echo "INCLUDE = ${db4}/include" >> config.in
|
||||
echo "LIB = ${db}/lib" > config.in
|
||||
echo "INCLUDE = ${db}/include" >> config.in
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ fetchurl, buildPerlPackage, zlib, stdenv }:
|
||||
|
||||
buildPerlPackage rec {
|
||||
name = "Compress-Raw-Zlib-2.060";
|
||||
name = "Compress-Raw-Zlib-2.065";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/modules/by-module/Compress/${name}.tar.gz";
|
||||
sha256 = "03z2vqcdpysanqnh9m714fs2mcfshzbkd8i11w359h69h5q0kms3";
|
||||
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
||||
sha256 = "1i09h3dvn8ipaj1l2nq2qd19wzhn7wcpbsipdkcniwi0sgy1kf1p";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
@@ -21,6 +21,6 @@ buildPerlPackage rec {
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
meta = {
|
||||
license = "perl5";
|
||||
license = "perl";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
|
||||
|
||||
buildPerlPackage rec {
|
||||
name = "DBD-Pg-2.19.3";
|
||||
name = "DBD-Pg-3.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/modules/by-module/DBD/${name}.tar.gz";
|
||||
sha256 = "0ai6p2094hrh6kjlwfjvpw2z8wqa3scr4ba3p6rqza3z9c9hsd9p";
|
||||
url = "mirror://cpan/authors/id/T/TU/TURNSTEP/${name}.tar.gz";
|
||||
sha256 = "10s1dhpxxqfl421388l6gzfdm1gzxf5iah42i1w6yji9mgkz8hf8";
|
||||
};
|
||||
|
||||
buildInputs = [ postgresql ];
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, buildPerlPackage, DBI, sqlite }:
|
||||
|
||||
buildPerlPackage rec {
|
||||
name = "DBD-SQLite-1.37";
|
||||
name = "DBD-SQLite-1.42";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/A/AD/ADAMK/${name}.tar.gz";
|
||||
sha256 = "0197kvlziaj2wfdbzlhdlqmzvb29fmfyy6y2isbbwlg0b0f7ccd1";
|
||||
url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/${name}.tar.gz";
|
||||
sha256 = "14x9cjsc8dz8ad1nad0bqiq9cbk1rjfb8h5y0rpk3pdl38y6afxb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ DBI ];
|
||||
@@ -35,5 +35,5 @@ buildPerlPackage rec {
|
||||
# (e.g. "database is locked(5) at dbdimp.c line 402 at t/07busy.t").
|
||||
doCheck = false;
|
||||
|
||||
meta.platforms = stdenv.lib.platforms.linux;
|
||||
meta.platforms = stdenv.lib.platforms.unix;
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{fetchurl, buildPerlPackage, DBI, mysql}:
|
||||
|
||||
buildPerlPackage {
|
||||
name = "DBD-mysql-4.013";
|
||||
name = "DBD-mysql-4.023";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://cpan/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.013.tar.gz;
|
||||
sha256 = "074jm3fd9bi9am4i8alwim5i7a4gl07hzjy7a7hfdj9awbd0w9x9";
|
||||
url = mirror://cpan/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.023.tar.gz;
|
||||
sha256 = "0j4i0i6apjwx5klk3wigh6yysssn7bs6p8c5sh31m6qxsbgyk9xa";
|
||||
};
|
||||
|
||||
buildInputs = [mysql] ;
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
{fetchurl, buildPerlPackage, db4}:
|
||||
{fetchurl, buildPerlPackage, db}:
|
||||
|
||||
buildPerlPackage rec {
|
||||
name = "DB_File-1.826";
|
||||
name = "DB_File-1.831";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
||||
sha256 = "c39828ef3cfecff8197ff057cb1c6127b87107c051d182b87c6b9ac79d23f09c";
|
||||
sha256 = "0hq2vvcsa3nkb5bpcl0nkfsxhk8wyrsp3p3ara18rscrfd783hjs";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
cat > config.in <<EOF
|
||||
PREFIX = size_t
|
||||
HASH = u_int32_t
|
||||
LIB = ${db4}/lib
|
||||
INCLUDE = ${db4}/include
|
||||
LIB = ${db}/lib
|
||||
INCLUDE = ${db}/include
|
||||
EOF
|
||||
'';
|
||||
|
||||
|
||||
52
pkgs/development/perl-modules/dbix-class-fix-tests.patch
Normal file
52
pkgs/development/perl-modules/dbix-class-fix-tests.patch
Normal file
@@ -0,0 +1,52 @@
|
||||
diff --git a/t/multi_create/standard.t b/t/multi_create/standard.t
|
||||
index 5a02947..6c1efd8 100644
|
||||
--- a/t/multi_create/standard.t
|
||||
+++ b/t/multi_create/standard.t
|
||||
@@ -444,7 +444,11 @@ throws_ok ( sub {
|
||||
#$t->cd($t->new_related('cd', { artist => undef } ) );
|
||||
#$t->{_rel_in_storage} = 0;
|
||||
$t->insert;
|
||||
-}, qr/cd.artist may not be NULL/, "Exception propogated properly");
|
||||
+}, qr/DBI Exception.+(?x:
|
||||
+ \QNOT NULL constraint failed: cd.artist\E
|
||||
+ |
|
||||
+ \Qcd.artist may not be NULL\E
|
||||
+)/s, "Exception propogated properly");
|
||||
|
||||
lives_ok ( sub {
|
||||
$schema->resultset('CD')->create ({
|
||||
diff --git a/t/relationship/update_or_create_multi.t b/t/relationship/update_or_create_multi.t
|
||||
index 8710048..c7cce7a 100644
|
||||
--- a/t/relationship/update_or_create_multi.t
|
||||
+++ b/t/relationship/update_or_create_multi.t
|
||||
@@ -69,7 +69,12 @@ throws_ok {
|
||||
year => 2020,
|
||||
title => 'the best thing since sliced bread',
|
||||
})
|
||||
-} qr/\Qcd.artist may not be NULL/, 'ambiguous find + create failed';
|
||||
+} qr/DBI Exception.+(?x:
|
||||
+ \QNOT NULL constraint failed: cd.artist\E
|
||||
+ |
|
||||
+ \Qcd.artist may not be NULL\E
|
||||
+)/s, 'ambiguous find + create failed'
|
||||
+;
|
||||
|
||||
# expect a create, after a failed search using *only* the
|
||||
# *current* relationship and the unique column constraints
|
||||
diff --git a/t/storage/error.t b/t/storage/error.t
|
||||
index d5980eb..61d6782 100644
|
||||
--- a/t/storage/error.t
|
||||
+++ b/t/storage/error.t
|
||||
@@ -15,7 +15,11 @@ warnings_are ( sub {
|
||||
sub {
|
||||
$schema->resultset('CD')->create({ title => 'vacation in antarctica' })
|
||||
},
|
||||
- qr/DBI Exception.+cd\.artist.+NULL/s
|
||||
+ qr/DBI Exception.+(?x:
|
||||
+ \QNOT NULL constraint failed: cd.artist\E
|
||||
+ |
|
||||
+ \Qcd.artist may not be NULL\E
|
||||
+ )/s
|
||||
); # as opposed to some other error
|
||||
}, [], 'No warnings besides exception' );
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{buildPerlPackage, stdenv, fetchurl, DBDmysql}:
|
||||
|
||||
buildPerlPackage rec {
|
||||
name = "maatkit-4790";
|
||||
name = "maatkit-7540";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://maatkit.googlecode.com/files/${name}.tar.gz" ;
|
||||
sha256 = "0lf6dgh1w96m234hrkhagyyvv1m1ldchpzsg6iswvkj6sbvv7d7h";
|
||||
sha256 = "1a7rxrddkrsfxb2wj01ha91ld0vapfkqcy8j9p08l76zz2l8p2v1";
|
||||
};
|
||||
|
||||
buildInputs = [ DBDmysql ] ;
|
||||
@@ -34,7 +34,7 @@ buildPerlPackage rec {
|
||||
In addition to MySQL, there is support for PostgreSQL, Memcached, and a
|
||||
growing variety of other databases and technologies.
|
||||
'';
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
homepage = http://www.maatkit.org/;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user