blob: 185567b1560e5f5246cb161d0f3087f00a71d43c (
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
38
39
|
{
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
requests,
setuptools,
standard-telnetlib,
}:
buildPythonPackage rec {
pname = "pyfnip";
version = "0.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-arwIsqsj+d6sMatBJc1eEr95Nvg8Y9lfpOtBPcHKomA=";
};
build-system = [ setuptools ];
dependencies = [
requests
]
++ lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyfnip" ];
meta = {
description = "Python client to get fido account data";
homepage = "https://github.com/juhaniemi/pyfnip";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|