-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.python-u2flib-host: init at 3.0.3
(cherry picked from commit 38e86a8)
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
pkgs/development/python-modules/python-u2flib-host/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ stdenv, fetchPypi, buildPythonPackage, requests, hidapi }: | ||
|
||
buildPythonPackage rec { | ||
pname = "python-u2flib-host"; | ||
version = "3.0.3"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "02pwafd5kyjpc310ys0pgnd0adff1laz18naxxwsfrllqafqnrxb"; | ||
}; | ||
|
||
propagatedBuildInputs = [ requests hidapi ]; | ||
|
||
# Tests fail: "ValueError: underlying buffer has been detached" | ||
doCheck = false; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Python based U2F host library"; | ||
homepage = https://github.com/Yubico/python-u2flib-host; | ||
license = licenses.bsd2; | ||
maintainers = with maintainers; [ jluttine ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters