python.pkgs.awesome-slugify: fix build (#34764)
It broke because Unidecode went out of its defined range (Unidecode>=0.04.14,<0.05) with commit 57e9ed3719e5cef086a3463513e8805c761c3cf4
This commit is contained in:
parent
465d7c55d9
commit
814a9310dc
@ -3,13 +3,17 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "awesome-slugify";
|
pname = "awesome-slugify";
|
||||||
version = "1.6.5";
|
version = "1.6.5";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0wgxrhr8s5vk2xmcz9s1z1aml4ppawmhkbggl9rp94c747xc7pmv";
|
sha256 = "0wgxrhr8s5vk2xmcz9s1z1aml4ppawmhkbggl9rp94c747xc7pmv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace 'Unidecode>=0.04.14,<0.05' 'Unidecode>=0.04.14'
|
||||||
|
'';
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./slugify_filename_test.patch # fixes broken test by new unidecode
|
./slugify_filename_test.patch # fixes broken test by new unidecode
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user