1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "tftpy";
10 version = "0.8.6";
11 format = "pyproject";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-9hb2pDo21IHCZlc2CFl7ndPHxjgYQV1yqgTx0XlUgOo=";
16 };
17
18 nativeBuildInputs = [ setuptools ];
19
20 pythonImportsCheck = [ "tftpy" ];
21
22 meta = {
23 description = "Pure Python TFTP library";
24 homepage = "https://github.com/msoulier/tftpy";
25 changelog = "https://github.com/msoulier/tftpy/releases/tag/${version}";
26 license = lib.licenses.mit;
27 maintainers = with lib.maintainers; [ otavio ];
28 };
29}