python3.pkgs.wordcloud: 1.8.1 -> unstable-2023-01-04
Adds support for Python 3.11, which hasn't made it into a release yet.
This commit is contained in:
parent
de9f490d3f
commit
a12ccf900b
@ -13,16 +13,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wordcloud";
|
||||
version = "1.8.1";
|
||||
version = "unstable-2023-01-04";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amueller";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-4EFQfv+Jn9EngUAyDoJP0yv9zr9Tnbrdwq1YzDacB9Q=";
|
||||
repo = "word_cloud";
|
||||
rev = "dbf7ab7753a36e1c12c0e1b36aeeece5023f39f9";
|
||||
hash = "sha256-ogSkVcPUth7bh7mxwdDmF/Fc2ySDxbLA8ArmBNnPvw8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -40,14 +40,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/amueller/word_cloud/pull/616
|
||||
url = "https://github.com/amueller/word_cloud/commit/858a8ac4b5b08494c1d25d9e0b35dd995151a1e5.patch";
|
||||
sha256 = "sha256-+aDTMPtOibVwjPrRLxel0y4JFD5ERB2bmJi4zRf/asg=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace " --cov --cov-report xml --tb=short" ""
|
||||
|
Loading…
Reference in New Issue
Block a user