lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #24052 from benley/yubikey-manager

yubikey-manager: init at 0.3.1

authored by

Michael Raskin and committed by
GitHub
e16c5a82 d21c647d

+44
+42
pkgs/tools/misc/yubikey-manager/default.nix
··· 1 + { pythonPackages, fetchurl, lib, 2 + yubikey-personalization, libu2f-host, libusb1 }: 3 + 4 + pythonPackages.buildPythonPackage rec { 5 + name = "yubikey-manager-0.3.1"; 6 + 7 + srcs = fetchurl { 8 + url = "https://developers.yubico.com/yubikey-manager/Releases/${name}.tar.gz"; 9 + sha256 = "0vrhaqb8yc1qjq25k9dv8gmqxhbf6aa047i6dvz1lcraq6zwnq6g"; 10 + }; 11 + 12 + propagatedBuildInputs = 13 + with pythonPackages; 14 + lib.optional (!pythonPackages.pythonAtLeast "3.4") enum34 ++ [ 15 + click 16 + cryptography 17 + pyscard 18 + pyusb 19 + six 20 + ] ++ [ 21 + libu2f-host 22 + libusb1 23 + yubikey-personalization 24 + ]; 25 + 26 + makeWrapperArgs = [ 27 + "--prefix LD_LIBRARY_PATH : ${libu2f-host}/lib:${libusb1}/lib:${yubikey-personalization}/lib" 28 + ]; 29 + 30 + postInstall = '' 31 + mkdir -p $out/etc/bash_completion.d 32 + _YKMAN_COMPLETE=source $out/bin/ykman > $out/etc/bash_completion.d/ykman.sh ||true 33 + ''; 34 + 35 + meta = with lib; { 36 + homepage = https://developers.yubico.com/yubikey-manager; 37 + description = "Command line tool for configuring any YubiKey over all USB transports."; 38 + license = licenses.bsd2; 39 + platforms = platforms.unix; 40 + maintainers = with maintainers; [ benley ]; 41 + }; 42 + }
+2
pkgs/top-level/all-packages.nix
··· 10169 10169 10170 10170 yubico-piv-tool = callPackage ../tools/misc/yubico-piv-tool { }; 10171 10171 10172 + yubikey-manager = callPackage ../tools/misc/yubikey-manager { }; 10173 + 10172 10174 yubikey-neo-manager = callPackage ../tools/misc/yubikey-neo-manager { }; 10173 10175 10174 10176 yubikey-personalization = callPackage ../tools/misc/yubikey-personalization {