Revert "Merge branch 'staging-next'"

This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
This commit is contained in:
Vladimír Čunát
2019-09-21 20:05:09 +02:00
parent 6be720b3a7
commit f8a8fc6c7c
90 changed files with 367 additions and 428 deletions

View File

@@ -1,7 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch
, openssl
, cryptography_vectors
, darwin
@@ -50,18 +49,10 @@ buildPythonPackage rec {
pytz
];
# remove when https://github.com/pyca/cryptography/issues/4998 is fixed
checkPhase = ''
py.test --disable-pytest-warnings tests -k 'not load_ecdsa_no_named_curve'
py.test --disable-pytest-warnings tests
'';
patches = [
(fetchpatch {
url = "https://github.com/pyca/cryptography/commit/e575e3d482f976c4a1f3203d63ea0f5007a49a2a.patch";
sha256 = "0vg9prqsizd6gzh5j7lscsfxzxlhz7pacvzhgqmj1vhdhjwbblcp";
})
];
# IOKit's dependencies are inconsistent between OSX versions, so this is the best we
# can do until nix 1.11's release
__impureHostDeps = [ "/usr/lib" ];

View File

@@ -1,15 +1,15 @@
{ stdenv, buildPythonPackage, fetchPypi, libmysqlclient }:
{ stdenv, buildPythonPackage, fetchPypi, mysql }:
buildPythonPackage rec {
pname = "mysqlclient";
version = "1.4.4";
nativeBuildInputs = [
libmysqlclient
mysql.connector-c
];
buildInputs = [
libmysqlclient
mysql.connector-c
];
# Tests need a MySQL database

View File

@@ -9,7 +9,6 @@
, pretend
, flaky
, glibcLocales
, six
}:
with stdenv.lib;
@@ -85,7 +84,7 @@ buildPythonPackage rec {
doCheck = !stdenv.isDarwin;
nativeBuildInputs = [ openssl ];
propagatedBuildInputs = [ cryptography pyasn1 idna six ];
propagatedBuildInputs = [ cryptography pyasn1 idna ];
checkInputs = [ pytest pretend flaky glibcLocales ];
}