Skip to content

Commit

Permalink
pythonPackages.python-u2flib-host: init at 3.0.3
Browse files Browse the repository at this point in the history
(cherry picked from commit 38e86a8)
  • Loading branch information
jluttine authored and samueldr committed Sep 13, 2018
1 parent 832dcfd commit f8c8a23
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pkgs/development/python-modules/python-u2flib-host/default.nix
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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16279,6 +16279,8 @@ EOF

potr = callPackage ../development/python-modules/potr {};

python-u2flib-host = callPackage ../development/python-modules/python-u2flib-host { };

pluggy = callPackage ../development/python-modules/pluggy {};

xcffib = callPackage ../development/python-modules/xcffib {};
Expand Down

0 comments on commit f8c8a23

Please sign in to comment.