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:
commit
802d7396dd
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue