1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 unittestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "untokenize"; 10 version = "0.1.1"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "3865dbbbb8efb4bb5eaa72f1be7f3e0be00ea8b7f125c69cbd1f5fda926f37a2"; 16 }; 17 18 nativeCheckInputs = [ unittestCheckHook ]; 19 20 meta = with lib; { 21 description = "Transforms tokens into original source code while preserving whitespace"; 22 homepage = "https://github.com/myint/untokenize"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ FlorianFranzen ]; 25 }; 26}