blob: 7b2b578eed8cdf386a8726ea0dd06be3003c2a51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ lib, buildPythonPackage, fetchFromGitHub
, click, ecdsa, fido2, intelhex, pyserial, pyusb, requests}:
buildPythonPackage rec {
pname = "solo-python";
version = "0.0.15";
format = "flit";
src = fetchFromGitHub {
owner = "solokeys";
repo = pname;
rev = version;
sha256 = "14na9s65hxzx141bdv0j7rx1wi3cv85jzpdivsq1rwp6hdhiazr1";
};
# TODO: remove ASAP
patchPhase = ''
substituteInPlace pyproject.toml --replace "fido2 == 0.7.0" "fido2 >= 0.7.0"
'';
propagatedBuildInputs = [
click
ecdsa
fido2
intelhex
pyserial
pyusb
requests
];
meta = with lib; {
description = "Python tool and library for SoloKeys";
homepage = "https://github.com/solokeys/solo-python";
maintainers = with maintainers; [ wucke13 ];
license = with licenses; [ asl20 mit ];
};
}
|