14 buildPythonPackage rec {
19 disabled = pythonOlder "3.7";
22 inherit pname version;
23 hash = "sha256-6oJhCOLH9J3G1mx1KXPD/JdJFCp5jWslTh4wHP28ZAM=";
27 # Replace nose-parameterized with parameterized, https://github.com/wolever/pprintpp/pull/21
29 url = "https://github.com/wolever/pprintpp/commit/873217674cc824b4c1cfdad4867c560c60e8d806.patch";
30 hash = "sha256-Y+2yVUkDHkwo49ynNHYXVXJpX4DfVYJ0CWKgzFX/HWc=";
32 # Remove "U" move from open(), https://github.com/wolever/pprintpp/pull/31
34 name = "remove-u.patch";
35 url = "https://github.com/wolever/pprintpp/commit/deec5e5efad562fc2f9084abfe249ed0c7dd65fa.patch";
36 hash = "sha256-I84pnY/KyCIPPI9q0uvj64t8oPeMkgVTPEBRANkZNa4=";
40 build-system = [ setuptools ];
48 pythonImportsCheck = [ "pprintpp" ];
50 pytestFlagsArray = [ "test.py" ];
53 # AttributeError: 'EncodedFile' object has no attribute 'getvalue'
60 description = "A drop-in replacement for pprint that's actually pretty";
61 homepage = "https://github.com/wolever/pprintpp";
62 changelog = "https://github.com/wolever/pprintpp/blob/${version}/CHANGELOG.txt";
63 license = licenses.bsd2;
64 maintainers = with maintainers; [ jakewaksbaum ];
65 mainProgram = "pypprint";