Merge pull request #196586 from prusnak/solo-python

python3Packages.solo-python: 0.0.31 -> 0.1.1
This commit is contained in:
Pavol Rusnak 2022-10-18 18:39:10 +02:00 committed by GitHub
commit 707c915886
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,9 +12,9 @@
, requests
}:
buildPythonPackage rec {
buildPythonPackage rec {
pname = "solo-python";
version = "0.0.31";
version = "0.1.1";
format = "flit";
disabled = pythonOlder "3.6";
@ -23,13 +23,9 @@
owner = "solokeys";
repo = pname;
rev = version;
sha256 = "sha256-OguAHeNpom+zthREzdhejy5HJUIumrtwB0WJAwUNiSA=";
sha256 = "sha256-XVPYr7JwxeZfZ68+vQ7a7MNiAfJ2bvMbM3R1ryVJ+OU=";
};
patchPhase = ''
sed -i '/fido2/c\"fido2",' pyproject.toml
'';
propagatedBuildInputs = [
click
cryptography
@ -54,9 +50,12 @@
];
meta = with lib; {
description = "Python tool and library for SoloKeys";
homepage = "https://github.com/solokeys/solo-python";
description = "Python tool and library for SoloKeys Solo 1";
homepage = "https://github.com/solokeys/solo1-cli";
maintainers = with maintainers; [ wucke13 ];
license = with licenses; [ asl20 mit ];
# not compatible with fido2 >= 1.0.0
# https://github.com/solokeys/solo1-cli/issues/157
broken = versionAtLeast fido2.version "1.0.0";
};
}