yubikey-manager: 1.0.1 -> 2.0.0

This commit is contained in:
Jörg Thalheim 2019-01-17 21:17:12 +00:00
parent d3e3346530
commit 72983e22fa
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -1,17 +1,16 @@
{ pythonPackages, fetchurl, lib,
{ python3Packages, fetchurl, lib,
yubikey-personalization, libu2f-host, libusb1 }:
pythonPackages.buildPythonPackage rec {
name = "yubikey-manager-1.0.1";
python3Packages.buildPythonPackage rec {
name = "yubikey-manager-2.0.0";
srcs = fetchurl {
url = "https://developers.yubico.com/yubikey-manager/Releases/${name}.tar.gz";
sha256 = "0i7w1f89hqlw7g800fjhbb6yvq9wjmj5d7w7p6v8bkyvk645v48z";
sha256 = "1x36pyg9g3by2pa11j6d73d79sdlb7qy98lwwn05f43fjm74qnz9";
};
propagatedBuildInputs =
with pythonPackages;
lib.optional (!pythonPackages.pythonAtLeast "3.4") enum34 ++ [
with python3Packages; [
click
cryptography
pyscard