2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, requests, hidapi }:
|
2018-08-26 13:15:27 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-26 13:15:27 +01:00
|
|
|
description = "Python based U2F host library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Yubico/python-u2flib-host";
|
2018-08-26 13:15:27 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
}
|