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