8 buildPythonPackage rec {
9 version = libsixel.version;
10 format = "setuptools";
14 sourceRoot = "${src.name}/python";
17 substituteInPlace libsixel/__init__.py --replace \
18 'from ctypes.util import find_library' \
19 'find_library = lambda _x: "${lib.getLib libsixel}/lib/libsixel${stdenv.hostPlatform.extensions.sharedLibrary}"'
25 pythonImportsCheck = [ "libsixel" ];
28 description = "SIXEL graphics encoder/decoder implementation";
29 homepage = "https://github.com/libsixel/libsixel";
30 license = licenses.mit;
31 maintainers = with maintainers; [ rmcgibbo ];