python311Packages.keyring-pass: modernize

This commit is contained in:
Peder Bergebakken Sundt 2024-08-12 02:32:18 +02:00
parent 35db852051
commit eed233f455

View File

@ -24,10 +24,10 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace keyring_pass/__init__.py \
--replace 'pass_binary = "pass"' 'pass_binary = "${lib.getExe pass}"'
--replace-fail 'pass_binary = "pass"' 'pass_binary = "${lib.getExe pass}"'
'';
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
nativeCheckInputs = [
keyring