3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #132177 from IvanMalison/get-yubikey-manager-src-from-github

yubikey-manager: 4.0.3 -> 4.0.5
This commit is contained in:
Maximilian Bosch 2021-07-31 15:36:35 +02:00 committed by GitHub
commit 802d7396dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,20 @@
{ python3Packages, fetchurl, lib,
yubikey-personalization, libu2f-host, libusb1 }:
{ python3Packages, fetchFromGitHub, lib, yubikey-personalization, libu2f-host, libusb1 }:
python3Packages.buildPythonPackage rec {
pname = "yubikey-manager";
version = "4.0.3";
version = "4.0.5";
srcs = fetchurl {
url = "https://developers.yubico.com/${pname}/Releases/${pname}-${version}.tar.gz";
hash = "sha256-p7tv/bj6PMCnCU5j8Vhi60LxLiPmR1Cuf8xVdDVtZvQ=";
src = fetchFromGitHub {
repo = "yubikey-manager";
rev = version;
owner = "Yubico";
sha256 = "sha256:0ycp7k6lkxzqwkc16fifhyqaqi7hl3351pwddsn18r5l83jnzdn2";
};
format = "pyproject";
nativeBuildInputs = with python3Packages; [ poetry-core ];
propagatedBuildInputs =
with python3Packages; [
click