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