8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
23 lines
625 B
Nix
23 lines
625 B
Nix
{ 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 ];
|
|
};
|
|
}
|