Skip to content

Commit

Permalink
yubioath: fix python git dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 25, 2020
1 parent 3d4e98e commit 62a3c03
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 5eb4d6a384753896d495b09d8651c48672ef234d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
Date: Wed, 25 Nov 2020 11:26:49 +0100
Subject: [PATCH] replace git with normal python package
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
---
requirements.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/requirements.txt b/requirements.txt
index ef25aad..b4246a4 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,2 +1,2 @@
-git+https://github.com/Yubico/yubikey-manager.git
+yubikey-manager
./py/qr
--
2.29.2

4 changes: 4 additions & 0 deletions pkgs/applications/misc/yubioath-desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ mkDerivation rec {

nativeBuildInputs = [ qmake makeWrapper python3.pkgs.wrapPython ];

patches = [
./0001-replace-git-with-normal-python-package.patch
];

postPatch = ''
substituteInPlace deployment.pri \
--replace '/usr/bin' "$out/bin"
Expand Down

0 comments on commit 62a3c03

Please sign in to comment.