From e398c920cf187dae2b296e4296a55ac39d69a173 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 12 Mar 2019 16:40:29 -0500 Subject: [PATCH] yubikey-manager{,-qt}: update (#57393) * yubikey-manager: 2.0.0 -> 2.1.0 * yubikey-manager-qt: 1.1.0 -> 1.1.1 --- pkgs/tools/misc/yubikey-manager-qt/default.nix | 8 +++----- pkgs/tools/misc/yubikey-manager/default.nix | 7 ++++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/misc/yubikey-manager-qt/default.nix b/pkgs/tools/misc/yubikey-manager-qt/default.nix index c8521efb28d6..7cc3b69165a3 100644 --- a/pkgs/tools/misc/yubikey-manager-qt/default.nix +++ b/pkgs/tools/misc/yubikey-manager-qt/default.nix @@ -27,17 +27,15 @@ let in stdenv.mkDerivation rec { pname = "yubikey-manager-qt"; - version = "1.1.0"; + version = "1.1.1"; src = fetchurl { - url = "https://developers.yubico.com/yubikey-manager-qt/Releases/${pname}-${version}.tar.gz"; - sha256 = "8049a233a8cca07543d745a9f619c0fc3afb324f5d0030b93f037b34ac1c5e66"; + url = "https://developers.yubico.com/${pname}/Releases/${pname}-${version}.tar.gz"; + sha256 = "0hcfl0mh4gqy9c8ghmi58asqr8v009n6li0mgcy3r8fyjr7qryvy"; }; nativeBuildInputs = [ makeWrapper python3.pkgs.wrapPython qmake ]; - sourceRoot = "."; - postPatch = '' substituteInPlace ykman-gui/deployment.pri --replace '/usr/bin' "$out/bin" ''; diff --git a/pkgs/tools/misc/yubikey-manager/default.nix b/pkgs/tools/misc/yubikey-manager/default.nix index df07c291e26b..294e613a1bb5 100644 --- a/pkgs/tools/misc/yubikey-manager/default.nix +++ b/pkgs/tools/misc/yubikey-manager/default.nix @@ -2,11 +2,12 @@ yubikey-personalization, libu2f-host, libusb1 }: python3Packages.buildPythonPackage rec { - name = "yubikey-manager-2.0.0"; + pname = "yubikey-manager"; + version = "2.1.0"; srcs = fetchurl { - url = "https://developers.yubico.com/yubikey-manager/Releases/${name}.tar.gz"; - sha256 = "1x36pyg9g3by2pa11j6d73d79sdlb7qy98lwwn05f43fjm74qnz9"; + url = "https://developers.yubico.com/${pname}/Releases/${pname}-${version}.tar.gz"; + sha256 = "11rsmcaj60k3y5m5gdhr2nbbz0w5dm3m04klyxz0fh5hnpcmr7fm"; }; propagatedBuildInputs =