python311Packages.keyring-pass: modernize

This commit is contained in:
Peder Bergebakken Sundt
2024-08-13 17:49:30 +02:00
parent 35db852051
commit eed233f455
@@ -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