Merge pull request #42728 from mkaito/update-ykman

yubikey-manager: 0.4.0 -> 0.7.0
This commit is contained in:
Robert Schütz 2018-06-30 11:29:35 +02:00 committed by GitHub
commit 7725269765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, six, cryptography }:
buildPythonPackage rec {
pname = "fido2";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "0ddbhg4nsabi9w66l8vkr0i5r80jqihlic5yrdl3v1aqahvxph1j";
};
# The pypi package does not include tests
# Check https://github.com/Yubico/python-fido2/pull/8
doCheck = false;
propagatedBuildInputs = [ six cryptography ];
meta = with lib; {
description = "Provides library functionality for FIDO 2.0, including communication with a device over USB.";
homepage = https://github.com/Yubico/python-fido2;
license = licenses.mpl20;
};
}

View File

@ -2,11 +2,11 @@
yubikey-personalization, libu2f-host, libusb1 }:
pythonPackages.buildPythonPackage rec {
name = "yubikey-manager-0.4.0";
name = "yubikey-manager-0.7.0";
srcs = fetchurl {
url = "https://developers.yubico.com/yubikey-manager/Releases/${name}.tar.gz";
sha256 = "0dc0mqg8r6kjh0s2rmrggfxbx9imslajjrj80rffcvg64a2vgsgb";
sha256 = "13vvl3jc5wg6d4h5cpaf969apsbf72dxad560d02ly061ss856zr";
};
propagatedBuildInputs =
@ -18,6 +18,7 @@ pythonPackages.buildPythonPackage rec {
pyusb
pyopenssl
six
fido2
] ++ [
libu2f-host
libusb1

View File

@ -265,6 +265,8 @@ in {
diff-match-patch = callPackage ../development/python-modules/diff-match-patch { };
fido2 = callPackage ../development/python-modules/fido2 { };
globus-sdk = callPackage ../development/python-modules/globus-sdk { };
goocalendar = callPackage ../development/python-modules/goocalendar { };