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