1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 setuptools, 6}: 7buildPythonPackage rec { 8 pname = "bencoder"; 9 version = "0.2.0"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-rENvM/3X51stkFdJHSq+77VjHvsTyBNAPbCtsRq1L8I="; 15 }; 16 17 pythonImportsCheck = [ "bencoder" ]; 18 19 # There are no tests. 20 doCheck = false; 21 22 meta = with lib; { 23 description = "A simple bencode decoder/encoder library in pure Python"; 24 homepage = "https://github.com/utdemir/bencoder"; 25 license = licenses.gpl2; 26 maintainers = with maintainers; [ somasis ]; 27 }; 28}