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