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 57e9ed3719
This commit is contained in:
parent
465d7c55d9
commit
814a9310dc
|
@ -3,13 +3,17 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "awesome-slugify";
|
||||
version = "1.6.5";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0wgxrhr8s5vk2xmcz9s1z1aml4ppawmhkbggl9rp94c747xc7pmv";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'Unidecode>=0.04.14,<0.05' 'Unidecode>=0.04.14'
|
||||
'';
|
||||
|
||||
patches = [
|
||||
./slugify_filename_test.patch # fixes broken test by new unidecode
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue