pythonPackages: fix native / check inputs

This commit is contained in:
Frederik Rietdijk
2019-01-05 11:54:27 +01:00
committed by Frederik Rietdijk
parent 15396247ca
commit 5a3670b83c
34 changed files with 77 additions and 59 deletions

View File

@@ -2,7 +2,8 @@
, buildPythonPackage
, fetchPypi
, pytest
, pkgs
, fetchpatch
, glibcLocales
}:
buildPythonPackage rec {
@@ -15,7 +16,7 @@ buildPythonPackage rec {
};
LC_ALL = "en_US.UTF-8";
buildInputs = [ pkgs.glibcLocales pytest ];
checkInputs = [ glibcLocales pytest ];
checkPhase = ''
# fails on python3.7: https://github.com/drkjam/netaddr/issues/182
@@ -25,7 +26,7 @@ buildPythonPackage rec {
'';
patches = [
(pkgs.fetchpatch {
(fetchpatch {
url = https://github.com/drkjam/netaddr/commit/2ab73f10be7069c9412e853d2d0caf29bd624012.patch;
sha256 = "0s1cdn9v5alpviabhcjmzc0m2pnpq9dh2fnnk2x96dnry1pshg39";
})