perlPackages.AuthenSimplePasswd: don't test the "crypt" algo

This commit is contained in:
Vladimír Čunát 2023-03-22 14:00:59 +01:00
parent a973339324
commit e559231384
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1378,6 +1378,10 @@ let
url = "mirror://cpan/authors/id/C/CH/CHANSEN/Authen-Simple-Passwd-0.6.tar.gz";
hash = "sha256-z1W8NiWe3w/Wr5rSusgbMdxbVqFixmBZDsuWnHwWdLI=";
};
# Our C crypt() doesn't support this weak "crypt" algorithm anymore.
postPatch = ''
sed -e 's/tests => 8/tests => 7/' -e "/'crypt'/d" -i t/04basic.t
'';
propagatedBuildInputs = [ AuthenSimple ];
meta = {
description = "Simple Passwd authentication";