3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.python-u2flib-host: init at 3.0.3

This commit is contained in:
Jaakko Luttinen 2018-08-26 15:15:27 +03:00
parent f053daf36c
commit 38e86a8f1e
No known key found for this signature in database
GPG key ID: 7B1CE13152E6B964
2 changed files with 25 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -16244,6 +16244,8 @@ EOF
potr = callPackage ../development/python-modules/potr {}; potr = callPackage ../development/python-modules/potr {};
python-u2flib-host = callPackage ../development/python-modules/python-u2flib-host { };
pluggy = callPackage ../development/python-modules/pluggy {}; pluggy = callPackage ../development/python-modules/pluggy {};
xcffib = callPackage ../development/python-modules/xcffib {}; xcffib = callPackage ../development/python-modules/xcffib {};