From db5708ed0048b73d05bbd501a257eb36a4bb31ae Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 22 Jun 2024 10:15:58 +0900 Subject: [PATCH] python312Packages.trezorctl: remove empty shell completions --- pkgs/development/python-modules/trezor/default.nix | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pkgs/development/python-modules/trezor/default.nix b/pkgs/development/python-modules/trezor/default.nix index 0ade95bd96d3..63d6be49723d 100644 --- a/pkgs/development/python-modules/trezor/default.nix +++ b/pkgs/development/python-modules/trezor/default.nix @@ -4,7 +4,6 @@ buildPythonPackage, fetchPypi, isPy3k, - installShellFiles, attrs, click, construct, @@ -35,8 +34,6 @@ buildPythonPackage rec { hash = "sha256-Y01O3fNWAyV8MhYY2FSMajWyc4Rle2XjsL261jWlfP8="; }; - nativeBuildInputs = [ installShellFiles ]; - propagatedBuildInputs = [ attrs click @@ -67,16 +64,6 @@ buildPythonPackage rec { $out/bin/trezorctl --version ''; - postFixup = '' - mkdir completions - _TREZORCTL_COMPLETE=source_bash $out/bin/trezorctl > completions/trezorctl || true - _TREZORCTL_COMPLETE=source_zsh $out/bin/trezorctl > completions/_trezorctl || true - _TREZORCTL_COMPLETE=source_fish $out/bin/trezorctl > completions/trezorctl.fish || true - installShellCompletion --bash completions/trezorctl - installShellCompletion --zsh completions/_trezorctl - installShellCompletion --fish completions/trezorctl.fish - ''; - meta = with lib; { description = "Python library for communicating with Trezor Hardware Wallet"; mainProgram = "trezorctl";