python3Packages.solo-python: 0.0.30 -> 0.0.31

This commit is contained in:
Fabian Affolter 2021-11-06 23:53:28 +01:00
parent 9d7df9dcc3
commit ca38dd2a47

View file

@ -14,18 +14,18 @@
buildPythonPackage rec {
pname = "solo-python";
version = "0.0.30";
version = "0.0.31";
format = "flit";
disabled = pythonOlder "3.6"; # only python>=3.6 is supported
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "solokeys";
repo = pname;
rev = version;
sha256 = "1i9kybp08qfcdx6m4wl7ij40y1v17mvvhcdg7zglwfakblf69w41";
sha256 = "sha256-OguAHeNpom+zthREzdhejy5HJUIumrtwB0WJAwUNiSA=";
};
# replaced pinned fido, with unrestricted fido version
patchPhase = ''
sed -i '/fido2/c\"fido2",' pyproject.toml
'';
@ -41,12 +41,10 @@
requests
];
# allow for writable directory for darwin
preBuild = ''
export HOME=$TMPDIR
'';
# repo doesn't contain tests, ensure imports aren't broken
pythonImportsCheck = [
"solo"
"solo.cli"