10 buildPythonPackage rec {
15 inherit pname version;
16 hash = "sha256-XcPWu5xbq6u10Ldz4JQEXXVxLos0ry0psOKGAmaCZ8A=";
19 propagatedBuildInputs = [ simplejson ];
21 nativeCheckInputs = [ mock twisted ];
23 prePatch = lib.optionalString isPyPy ''
24 grep -rl 'utf-8-with-signature-unix' ./ | xargs sed -i -e "s|utf-8-with-signature-unix|utf-8|g"
28 description = "Pyutil, a collection of mature utilities for Python programmers";
31 These are a few data structures, classes and functions which
32 we've needed over many years of Python programming and which
33 seem to be of general use to other Python programmers. Many of
34 the modules that have existed in pyutil over the years have
35 subsequently been obsoleted by new features added to the
36 Python language or its standard library, thus showing that
37 we're not alone in wanting tools like these.
40 homepage = "https://github.com/tpltnt/pyutil";
41 license = licenses.gpl2Plus;
42 maintainers = with maintainers; [ prusnak ];