python3Packages.solo-python: 0.0.31 -> 0.1.1

+ mark broken
This commit is contained in:
Pavol Rusnak 2022-10-18 14:45:41 +02:00
parent 02ad70f21f
commit 26a338bbfd
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

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