pythonPackages: fix native / check inputs
This commit is contained in:
committed by
Frederik Rietdijk
parent
15396247ca
commit
5a3670b83c
@@ -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";
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user