mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
Merge pull request #211812 from dotlambda/urwid-python311
python311Packages.urwid: fix tests
This commit is contained in:
commit
9cd408b5e6
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, isPy3k
|
||||
, glibcLocales
|
||||
}:
|
||||
@ -15,6 +16,15 @@ buildPythonPackage rec {
|
||||
sha256 = "588bee9c1cb208d0906a9f73c613d2bd32c3ed3702012f51efe318a3f2127eae";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/urwid/urwid/pull/517
|
||||
(fetchpatch {
|
||||
name = "python311-compat.patch";
|
||||
url = "https://github.com/urwid/urwid/commit/42c1ed1eeb663179b265bae9b384d7ec11c8a9b5.patch";
|
||||
hash = "sha256-Oz8O/M6AdqbB6C/BB5rtxp8FgdGhZUxkSxKIyq5Dmho=";
|
||||
})
|
||||
];
|
||||
|
||||
# tests need to be able to set locale
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
nativeCheckInputs = [ glibcLocales ];
|
||||
|
Loading…
Reference in New Issue
Block a user